Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
@ -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."