Added debug log

This commit is contained in:
deajan 2017-01-02 22:41:05 +01:00
parent bc3e3e9e66
commit 89c74723bd
1 changed files with 1 additions and 0 deletions

View File

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