diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-04-24 03:50:10 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-04-24 03:50:10 +0200 |
commit | a6549a2b0ffc087bbf7b0ea41cf8dd5bda64e680 (patch) | |
tree | ab973cf57192cf6ef87c081597b723034288ac47 | |
parent | 1f5072421e07ec6e6af7efbf339f3b9840494e52 (diff) |
Whitespace
-rw-r--r-- | net/ifconfig.sh.Linux.in | 2 | ||||
-rw-r--r-- | net/iproute2.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 8abc9983..19e5c355 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -32,7 +32,7 @@ _ifindex() for f in /sys/class/net/*/ifindex ; do v=$(cat $f) [ $v -gt $index ] && index=$v - done + done : $(( index += 1 )) fi echo "${index}" diff --git a/net/iproute2.sh b/net/iproute2.sh index b420e41b..16186e8e 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -33,7 +33,7 @@ _ifindex() for f in /sys/class/net/*/ifindex ; do v=$(cat $f) [ $v -gt $index ] && index=$v - done + done : $(( index += 1 )) fi echo "${index}" |