index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | BlackEagle <ike.devolder@gmail.com> | 2014-02-16 09:55:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-05-10 08:04:24 +0200 |
commit | 6db31cc16a8044272170204975378ece8eb94e2a (patch) | |
tree | 237810c3208585afe1a24c76ffc4354b239331f4 /lib/common.sh | |
parent | 4ee45fe6d4e5b317700ca0ac20a800af0b3cef69 (diff) |
-rw-r--r-- | lib/common.sh | 2 |
diff --git a/lib/common.sh b/lib/common.sh index 04a282b..1009e90 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -65,7 +65,7 @@ setup_workdir() { cleanup() { [[ -n $WORKDIR ]] && rm -rf "$WORKDIR" - [[ $1 ]] && exit $1 + exit ${1:-0} } abort() { |