1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

Added debug log

This commit is contained in:
deajan 2017-01-02 22:41:05 +01:00
parent bc3e3e9e66
commit 89c74723bd

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