Exit on imagemagick failure

This commit is contained in:
Sasha Koshka 2024-08-08 17:47:08 -04:00
parent 5061bfba82
commit 71014afc0a

View File

@ -73,6 +73,7 @@ if test -z "$output"; then
output="captioned-`basename "$input"`" output="captioned-`basename "$input"`"
fi fi
if ! test -f "$input"; then if ! test -f "$input"; then
echo "$name: $input not found" echo "$name: $input not found"
exit 1 exit 1