forked from ungleich-public/cdist
__cdist_exit_err, not __exit_err
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
8722c03c12
commit
be3080b247
1 changed files with 2 additions and 2 deletions
|
@ -40,11 +40,11 @@ while [ $# -ge 1 ]; do
|
||||||
# Code local
|
# Code local
|
||||||
cdist-code-run "$__cdist_out_object_dir" "$object" \
|
cdist-code-run "$__cdist_out_object_dir" "$object" \
|
||||||
"${__cdist_name_gencode_local}" \
|
"${__cdist_name_gencode_local}" \
|
||||||
|| __exit_err "Remote code failed for $object"
|
|| __cdist_exit_err "Remote code failed for $object"
|
||||||
|
|
||||||
# Code remote
|
# Code remote
|
||||||
cdist-run-remote "$__cdist_target_host" "cdist-code-run" \
|
cdist-run-remote "$__cdist_target_host" "cdist-code-run" \
|
||||||
"${__cdist_remote_out_object_base_dir}" "$object" \
|
"${__cdist_remote_out_object_base_dir}" "$object" \
|
||||||
"${__cdist_name_gencode_remote}" \
|
"${__cdist_name_gencode_remote}" \
|
||||||
|| __exit_err "Remote code failed for $object"
|
|| __cdist_exit_err "Remote code failed for $object"
|
||||||
done < "$__cdist_tmp_file"
|
done < "$__cdist_tmp_file"
|
||||||
|
|
Loading…
Reference in a new issue