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