exit soup if batch size invalid

This commit is contained in:
m0duspwnens
2020-07-30 11:18:27 -04:00
parent 3d4a96fae0
commit 728afdcaaf

View File

@@ -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]"