summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.sh')
-rw-r--r--lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.sh b/lib/common.sh
index c6c5993..c9deebc 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -88,7 +88,7 @@ trap_exit() {
}
die() {
- error "$*"
+ (( $# )) && error "$@"
cleanup 1
}