summaryrefslogtreecommitdiffstats
path: root/src/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/package.sh')
-rw-r--r--src/package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/package.sh b/src/package.sh
index 95cdb0e..d591484 100644
--- a/src/package.sh
+++ b/src/package.sh
@@ -37,7 +37,8 @@ package_init()
fi
if [ "x${package_format}" = 'x' ]; then
- error 2 "$(get_msg 'package_format_unknown')"
+ error "$(get_msg 'package_format_unknown')"
+ return 1
fi
return 0