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 9446ff5..3ec26ff 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -82,7 +82,7 @@ trap_exit() {
}
die() {
- error "$*"
+ (( $# )) && error "$@"
cleanup 1
}