From 1ec9ffe260004941733855b9d1accfb8db60c227 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Jan 2016 11:53:46 -0500 Subject: package_init(): Use non-exiting error() --- (limited to 'src') 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 -- cgit v0.9.1