diff options
Diffstat (limited to 'net/arping.sh')
-rw-r--r-- | net/arping.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/arping.sh b/net/arping.sh index b77d70c1..83360d78 100644 --- a/net/arping.sh +++ b/net/arping.sh @@ -34,7 +34,7 @@ arping_address() while [ ${w} -gt 0 -a -z "${foundmac}" ]; do foundmac="$(arping2 ${opts} -r -c 1 -i "${IFACE}" "${ip}" 2>/dev/null | \ sed -e 'y/abcdef/ABCDEF/')" - w=$((${w} - 1)) + : $(( w -= 1 )) done else [ -z "$(_get_inet_address)" ] && opts="${opts} -D" |