From 0b5e7b585522113d7b3a13e10fc515fe91201c25 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Sep 2011 00:17:28 +0200 Subject: [PATCH] debug log for code inserted Signed-off-by: Nico Schottelius --- core/__cdist_object_code_run | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/__cdist_object_code_run b/core/__cdist_object_code_run index 26bf7ef8..8af67ab8 100755 --- a/core/__cdist_object_code_run +++ b/core/__cdist_object_code_run @@ -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 }