summaryrefslogtreecommitdiffstats
path: root/src/netcfg
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-09-07 12:00:22 +0200
committerJames Rayner <james@archlinux.org>2009-09-07 12:00:22 +0200
commit13406e34b1179d748b98791d1a15387ba053a4fa (patch)
tree4af421b5703462b43929fe56a23808d1680d28da /src/netcfg
parent3ae7e093c27350ced6ffaf99a3bca6bc56c559b8 (diff)
downloadnetctl-13406e34b1179d748b98791d1a15387ba053a4fa.tar.gz
netctl-13406e34b1179d748b98791d1a15387ba053a4fa.tar.xz
Lots of little tweaks that should never hurt. Some of them may help in
corner cases; others probably make no difference. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/netcfg')
-rw-r--r--src/netcfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netcfg b/src/netcfg
index 197848a..1215332 100644
--- a/src/netcfg
+++ b/src/netcfg
@@ -86,7 +86,7 @@ case "$1" in
-*|--*)
usage;;
*)
- if [ -n "$1" ]; then
+ if [[ -n "$1" ]]; then
profile_up "$1"
else
usage