diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-01-17 11:53:46 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-01-17 11:53:46 (EST) |
commit | 1ec9ffe260004941733855b9d1accfb8db60c227 (patch) | |
tree | 4fe0649687b008eac4e7070d7abca42f4ed71e1f /src/package.sh | |
parent | 2dd731a8ff9580199746954122b143a5f4dc7361 (diff) |
package_init(): Use non-exiting error()
Diffstat (limited to 'src/package.sh')
-rw-r--r-- | src/package.sh | 3 |
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 |