refactor: better increment

This commit is contained in:
Matthias Radestock committed 2015-04-20 12:45:57 +01:00
1 parent 39c925983a
commit 1e3d429d58
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ collect_cidr_args() {
CIDR_COUNT=0
while is_cidr "$1"; do
CIDR_ARGS="$CIDR_ARGS $1"
CIDR_COUNT=$(($CIDR_COUNT + 1))
CIDR_COUNT=$((CIDR_COUNT + 1))
shift 1
done
if [ $CIDR_COUNT -eq 0 ]; then