++__cdist_echo

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-06 20:38:31 +02:00
parent d000de2be9
commit d75f2d4d29

View file

@ -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."