__cdist_exit_err, not __exit_err

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-20 22:42:00 +01:00
parent 8722c03c12
commit be3080b247
1 changed files with 2 additions and 2 deletions

View File

@ -40,11 +40,11 @@ while [ $# -ge 1 ]; do
# Code local
cdist-code-run "$__cdist_out_object_dir" "$object" \
"${__cdist_name_gencode_local}" \
|| __exit_err "Remote code failed for $object"
|| __cdist_exit_err "Remote code failed for $object"
# Code remote
cdist-run-remote "$__cdist_target_host" "cdist-code-run" \
"${__cdist_remote_out_object_base_dir}" "$object" \
"${__cdist_name_gencode_remote}" \
|| __exit_err "Remote code failed for $object"
|| __cdist_exit_err "Remote code failed for $object"
done < "$__cdist_tmp_file"