aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2023-01-17 09:14:37 +0000
committerSam James <sam@gentoo.org>2023-01-17 15:06:12 +0000
commitf9c4602fec8b4a5bb6561dbf8bbeeff8447165bc (patch)
tree2f2c7bb71bc26caa523516ad246cecc786ff0ece
parentnet/bonding.sh: Eliminate the bashism that is pattern substitution (diff)
downloadnetifrc-f9c4602fec8b4a5bb6561dbf8bbeeff8447165bc.tar.gz
netifrc-f9c4602fec8b4a5bb6561dbf8bbeeff8447165bc.tar.bz2
netifrc-f9c4602fec8b4a5bb6561dbf8bbeeff8447165bc.zip
net/veth.sh: Eliminate the bashism that is the == test operator
Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net/veth.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/veth.sh b/net/veth.sh
index 80f9a8e..e18906c 100644
--- a/net/veth.sh
+++ b/net/veth.sh
@@ -132,7 +132,7 @@ veth_pre_start()
local createveth
eval createveth=\$veth_${IFVAR}_create
- if [ "$createveth" == "no" ]; then
+ if [ "$createveth" = "no" ]; then
return 0
fi