summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-03-15 23:25:52 +0100
committerThomas Bächler <thomas@archlinux.org>2008-03-15 23:25:52 +0100
commit3add4c0cf67f48eea2138739528586f358aad567 (patch)
treee52b4fb183ac70b3dcbccfba67b09a3b6d6b61bc /functions
parentc75f6726f08f338ce000cfbbca3fd27ec8356798 (diff)
downloadmkinitcpio-3add4c0cf67f48eea2138739528586f358aad567.tar.gz
mkinitcpio-3add4c0cf67f48eea2138739528586f358aad567.tar.xz
Fix trap call, always call cleanup
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 421b85e..e124303 100644
--- a/functions
+++ b/functions
@@ -35,7 +35,7 @@ checked_modules ()
msg () { [ "${QUIET}" = "n" ] && echo ${@}; }
err () { echo "ERROR: ${@}" >&2; }
-die () { echo "FATAL: ${@}" >&2; exit 1; }
+die () { echo "FATAL: ${@}" >&2; cleanup; exit 1; }
add_full_dir ()
{