Add exit on errors
This commit is contained in:
parent
2784350cbc
commit
3249261a44
@ -3,6 +3,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
if $# -ne 3; then
|
if $# -ne 3; then
|
||||||
echo "Please use this script with \"PATH\" \"Input Extension\" \"Output Extension\""
|
echo "Please use this script with \"PATH\" \"Input Extension\" \"Output Extension\""
|
||||||
|
$(exit 1); echo "$?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO argument sanity check
|
# TODO argument sanity check
|
||||||
|
Loading…
Reference in New Issue
Block a user