summaryrefslogtreecommitdiffstats
path: root/src/netcfg-menu
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-09-14 05:43:34 +0200
committerJames Rayner <james@archlinux.org>2009-09-14 08:22:11 +0200
commit67f1b8fae53ebe22ad1a0557c0d7a1371b96cb0b (patch)
tree76a0ad11c1df8272d0815a9c6c8398953f4effa0 /src/netcfg-menu
parent820d9295b51e427f3e17c9e83227a127ef9b7631 (diff)
downloadnetctl-67f1b8fae53ebe22ad1a0557c0d7a1371b96cb0b.tar.gz
netctl-67f1b8fae53ebe22ad1a0557c0d7a1371b96cb0b.tar.xz
Tweaks while merging
* added various quotes * made some vars local * tweaked some [[ ]]s, including one broken one in netcfg-menu * s/ra0/$INTERFACE/ in ethernet-iproute and wireless Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/netcfg-menu')
-rw-r--r--src/netcfg-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netcfg-menu b/src/netcfg-menu
index 78367d2..40f20b2 100644
--- a/src/netcfg-menu
+++ b/src/netcfg-menu
@@ -29,7 +29,7 @@ fi
ANSWER=$(mktemp --tmpdir menu.XXXXXXXX) || exit 1
# Set timeout
-if [ -z "$1" ]]; then
+if [[ -z "$1" ]]; then
TIMEOUT="0"
else
TIMEOUT="$1"