mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
exit soup if batch size invalid
This commit is contained in:
@@ -204,6 +204,7 @@ while getopts ":b" opt; do
|
|||||||
BATCHSIZE=$OPTARG
|
BATCHSIZE=$OPTARG
|
||||||
else
|
else
|
||||||
echo "Batch size must be a number greater than 0"
|
echo "Batch size must be a number greater than 0"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
\? ) echo "Usage: cmd [-b]"
|
\? ) echo "Usage: cmd [-b]"
|
||||||
|
|||||||
Reference in New Issue
Block a user