diff --git a/bin/cdist-code-run-all b/bin/cdist-code-run-all index b8a17430..3a360715 100755 --- a/bin/cdist-code-run-all +++ b/bin/cdist-code-run-all @@ -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"