diff options
Diffstat (limited to 'net/ifconfig.sh.BSD.in')
-rw-r--r-- | net/ifconfig.sh.BSD.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ifconfig.sh.BSD.in b/net/ifconfig.sh.BSD.in index c0c75f08..15c8fb8e 100644 --- a/net/ifconfig.sh.BSD.in +++ b/net/ifconfig.sh.BSD.in @@ -38,7 +38,7 @@ _ifindex() echo "${x#/dev/net}" return 0 fi - i=$((${i} + 1)) + : $(( i += 1 )) done ;; default) @@ -47,7 +47,7 @@ _ifindex() echo "${i}" return 0 fi - i=$((${i} + 1)) + : $(( i += 1 )) done ;; esac |