Add error handling when trying to create folder

merge-requests/18/head
g0t mi1k 3 months ago
parent bd5b40620f
commit 789854a921

@ -242,7 +242,8 @@ fi
cd $(dirname $0)
# Create image output location
mkdir -p $TARGET_DIR/$TARGET_SUBDIR
mkdir -pv $TARGET_DIR/$TARGET_SUBDIR
[ $? -eq 0 ] || failure
# Don't quit on any errors now
set +e

Loading…
Cancel
Save