Add error check for IMAGE_TYPE

merge-requests/16/head
Ben 4 years ago
parent 39747af093
commit 375693311b

@ -211,6 +211,10 @@ case "$IMAGE_TYPE" in
fi
debug "ver_simple_cdd: $ver_simple_cdd"
;;
*)
echo "ERROR: Unsupported IMAGE_TYPE selected ($IMAGE_TYPE)" >&2
exit 1
;;
esac
# We need root rights at some point

Loading…
Cancel
Save