scripts/mkimage: die is unknown; exit 1

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2018-11-22 21:42:59 +00:00
parent a4fe4d943a
commit 04556e8036

View File

@ -44,11 +44,11 @@ show_error() {
if [ -s "${SAVE_ERROR}" ]; then if [ -s "${SAVE_ERROR}" ]; then
cat "${SAVE_ERROR}" cat "${SAVE_ERROR}"
else else
echo "Folder $LE_TMP might be out of free space..." echo "Folder ${LE_TMP} might be out of free space..."
fi fi
echo echo
cleanup cleanup
die exit 1
} }
trap cleanup SIGINT trap cleanup SIGINT