Add exit on errors

This commit is contained in:
RealStickman 2021-07-24 16:53:34 +02:00
parent 2784350cbc
commit 3249261a44

View File

@ -3,6 +3,7 @@ set -euo pipefail
if $# -ne 3; then
echo "Please use this script with \"PATH\" \"Input Extension\" \"Output Extension\""
$(exit 1); echo "$?"
fi
# TODO argument sanity check