From 89c74723bd6fa0ad3c8561ec81db7bd7e133bd42 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 2 Jan 2017 22:41:05 +0100 Subject: [PATCH] Added debug log --- dev/n_obackup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/n_obackup.sh b/dev/n_obackup.sh index 935adf6..6374674 100755 --- a/dev/n_obackup.sh +++ b/dev/n_obackup.sh @@ -604,6 +604,7 @@ include #### DEBUG SUBSET #### include #### TrapError SUBSET #### cmd="du -cs $dirList | tail -n1 | cut -f1" + RemoteLogger "cmd: $cmd" "DEBUG" eval "$cmd" ENDSSH # $cmd will return 0 even if some errors found, so we need to check if there is an error output