missing exit 1 lead into an error and not good state of cdist
This commit is contained in:
parent
a432d6a51e
commit
0459bde77f
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ rule_files="$(cat "$__object/parameter/rule-files")"
|
||||||
|
|
||||||
##### INSTALL THE PACKAGE ###################################################
|
##### INSTALL THE PACKAGE ###################################################
|
||||||
|
|
||||||
require_pkg="" # what to require if I want to require "the package"
|
require_pkg="prometheus" # what to require if I want to require "the package"
|
||||||
require=""
|
require=""
|
||||||
if [ -f "$__object/parameter/install-from-backports" ]; then
|
if [ -f "$__object/parameter/install-from-backports" ]; then
|
||||||
os=$(cat "$__global/explorer/os")
|
os=$(cat "$__global/explorer/os")
|
||||||
|
@ -33,6 +33,7 @@ if [ -f "$__object/parameter/install-from-backports" ]; then
|
||||||
*)
|
*)
|
||||||
echo "--install-from-backports is only supported on Devuan -- ignoring." >&2
|
echo "--install-from-backports is only supported on Devuan -- ignoring." >&2
|
||||||
echo "Send a pull request if you require it." >&2
|
echo "Send a pull request if you require it." >&2
|
||||||
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue