Whitespace

This commit is contained in:
Christian Ruppert committed 2012-04-24 03:50:10 +02:00
1 parent 1f5072421e
commit a6549a2b0f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ _ifindex()
for f in /sys/class/net/*/ifindex ; do for f in /sys/class/net/*/ifindex ; do
v=$(cat $f) v=$(cat $f)
[ $v -gt $index ] && index=$v [ $v -gt $index ] && index=$v
done done
: $(( index += 1 )) : $(( index += 1 ))
fi fi
echo "${index}" echo "${index}"
+1 -1
View File
@@ -33,7 +33,7 @@ _ifindex()
for f in /sys/class/net/*/ifindex ; do for f in /sys/class/net/*/ifindex ; do
v=$(cat $f) v=$(cat $f)
[ $v -gt $index ] && index=$v [ $v -gt $index ] && index=$v
done done
: $(( index += 1 )) : $(( index += 1 ))
fi fi
echo "${index}" echo "${index}"