exit soup if batch size invalid

This commit is contained in:
m0duspwnens committed 2020-07-30 11:18:27 -04:00
1 parent 3d4a96fae0
commit 728afdcaaf
1 file changed
+1
+1
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]"