index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | BlackEagle <ike.devolder@gmail.com> | 2014-02-16 09:55:58 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-05-10 08:03:58 +0200 |
commit | 4ee45fe6d4e5b317700ca0ac20a800af0b3cef69 (patch) | |
tree | ac69357462475cd118ebc8d372c2b71e3fc63ef9 | |
parent | 0b2ae245f1d18e4b0702b5ca1cec323308daef0c (diff) |
-rw-r--r-- | lib/common.sh | 6 |
diff --git a/lib/common.sh b/lib/common.sh index cb9db76..04a282b 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -69,8 +69,8 @@ cleanup() { } abort() { - msg 'Aborting...' - cleanup 0 + error 'Aborting...' + cleanup 255 } trap_abort() { @@ -85,7 +85,7 @@ trap_exit() { die() { (( $# )) && error "$@" - cleanup 1 + cleanup 255 } trap 'trap_abort' INT QUIT TERM HUP |