Fix inconsistent script exit codes

Exit 2 always in invalid argument situations.
This commit is contained in:
Dan Church 2023-03-27 11:03:24 -05:00
parent 2497e27b04
commit 4dd8e17f0b
Signed by: h3xx
GPG Key ID: EA2BF379CD2CDBD0
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ TEMP_DIR=
if [[ ${#FILES[@]} -eq 0 ]]; then
USAGE >&2
exit 1
exit 2
fi
file_size() {