diff options
Diffstat (limited to 'net.Linux/arping.sh')
-rw-r--r-- | net.Linux/arping.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/arping.sh b/net.Linux/arping.sh index 763cb4ce..817f8b2d 100644 --- a/net.Linux/arping.sh +++ b/net.Linux/arping.sh @@ -44,7 +44,7 @@ arping_start() { einfo "Pinging gateways on ${IFACE} for configuration" eval $(_get_array "gateways_${IFVAR}") - if [ -z "$@" ] ; then + if [ $# = 0 ] ; then eerror "No gateways have been defined (gateways_${IFVAR}=\"...\")" return 1 fi |