Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.sh2
1 files changed, 1 insertions, 1 deletions
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() {