diff --git a/bin/cdist-config b/bin/cdist-config index 789f41a8..273569a6 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -169,7 +169,7 @@ __cdist_echo() info) echo $__cdist_echo_prefix "$@" ;; - warning) + warn) echo $__cdist_echo_prefix "Warning: $@" ;; error) @@ -188,7 +188,7 @@ __cdist_exec_fail_on_error() sh -e "$@" if [ "$?" -ne 0 ]; then __cdist_echo error "$1 exited non-zero" - __cdist_echo info "Faulty code:" + __cdist_echo warn "Faulty code:" cat "$1" __cdist_exit_err "Aborting due to non-zero exit code." fi