diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-01-17 16:10:31 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-01-17 16:10:31 (EST) |
commit | 09c583248e7c0aa5a833ec01262b8b4a7980234b (patch) | |
tree | e3ecd4028e888d6eb587d9703ace4d90396a624a /src/package.sh | |
parent | d5e46c35ea98e43b6ad380ac7fbc197b7881b220 (diff) | |
parent | e3ab87a78aafd979f6eb8bb75ef70304d87a1d6b (diff) |
Merge branch 'feature/improve-error-handling'
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 |