mirror of
https://codeberg.org/h3xx/optipdf
synced 2024-08-15 00:03:23 +00:00
Fix inconsistent script exit codes
Exit 2 always in invalid argument situations.
This commit is contained in:
parent
2497e27b04
commit
4dd8e17f0b
1 changed files with 1 additions and 1 deletions
2
optipdf
2
optipdf
|
@ -102,7 +102,7 @@ TEMP_DIR=
|
|||
|
||||
if [[ ${#FILES[@]} -eq 0 ]]; then
|
||||
USAGE >&2
|
||||
exit 1
|
||||
exit 2
|
||||
fi
|
||||
|
||||
file_size() {
|
||||
|
|
Loading…
Reference in a new issue