Finish bin/cdist-exec-run

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-17 15:36:27 +01:00
commit bb00bc93ef
2 changed files with 6 additions and 11 deletions

View file

@ -47,10 +47,10 @@ fi
mkdir -p "${__cdist_output_dir}"
# Catch errors ourselves now
set +e
"${__cdist_manifest}"; ret=$?
if [ "$ret" -ne 0 ]; then
__cdist_exit_err "Error: ${__cdist_manifest} exited non-zero."
fi