forked from ungleich-public/cdist
manifest must exit non-zero
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
aee427ee54
commit
2220054b4d
1 changed files with 8 additions and 1 deletions
|
@ -46,4 +46,11 @@ if [ ! -x "${__cdist_manifest}" ]; then
|
|||
fi
|
||||
|
||||
mkdir -p "${__cdist_output_dir}"
|
||||
"${__cdist_manifest}"
|
||||
|
||||
set +e
|
||||
|
||||
"${__cdist_manifest}"; ret=$?
|
||||
|
||||
if [ "$ret" -ne 0 ]; then
|
||||
__cdist_exit_err "Error: ${__cdist_manifest} exited non-zero."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue