diff --git a/bin/cdist-code-run b/bin/cdist-code-run index 2aeefddd..8a121a08 100755 --- a/bin/cdist-code-run +++ b/bin/cdist-code-run @@ -39,7 +39,7 @@ __cdist_echo info "Checking code-${__cdist_code_type}" if [ -e "$code" ]; then if [ -f "$code" ]; then if [ -x "$code" ]; then - echo "Executing code-${__cdist_code_type} for $__cdist_object ..." + __cdist_echo info "Executing code-${__cdist_code_type}" __cdist_exec_fail_on_error "$code" else __cdist_exit_err "$code exists, but is not executable."