Whitespace

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

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}"

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}"