diff options
author | Roy Marples <roy@marples.name> | 2007-04-30 13:19:26 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-30 13:19:26 +0000 |
commit | c3d899714c6e68ea13cb15a75829ba16ea6cf217 (patch) | |
tree | 64de6cc8289e177f4b6738034779162bc0bb6fae /net.Linux/clip.sh | |
parent | 0380d98d7dd8d0880764a2d0878df56d4e858b45 (diff) |
Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.
Diffstat (limited to 'net.Linux/clip.sh')
-rw-r--r-- | net.Linux/clip.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net.Linux/clip.sh b/net.Linux/clip.sh index 5eab64c0..7d3fef9b 100644 --- a/net.Linux/clip.sh +++ b/net.Linux/clip.sh @@ -80,7 +80,7 @@ are_atmclip_svcs_running() { clip_pre_start() { eval $(_get_array "clip_${IFVAR}") - [ -z "$@" ] && return 0 + [ $# = 0 ] && return 0 if [ ! -r /proc/net/atm/arp ] ; then modprobe clip && sleep 2 @@ -110,7 +110,7 @@ clip_pre_start() { clip_post_start() { eval $(_get_array "clip_${IFVAR}") - [ -z "$@" ] && return 0 + [ $# = 0 ] && return 0 are_atmclip_svcs_running || return 1 |