debug log for code inserted

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-08 00:17:28 +02:00
parent 279d519dda
commit 0b5e7b5855
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,8 @@ __cdist_object_code_run()
"$(__cdist_object_code "$1" "${__cdist_name_gencode_local}")"; then
__cdist_run_shell \
"$(__cdist_object_code "$1" "${__cdist_name_gencode_local}")"
else
__cdist_echo debug "Local code: none"
fi
# Code remote
@ -46,5 +48,7 @@ __cdist_object_code_run()
"$(__cdist_object_code "$1" "${__cdist_name_gencode_remote}")"; then
__cdist_run_remote $(__cdist_remote_object_code "$1")
else
__cdist_echo debug "Remote code: none"
fi
}