diff --git a/rsync/templates/rsync-backup.sh.erb b/rsync/templates/rsync-backup.sh.erb index cf9bb6e..e6d6cb5 100644 --- a/rsync/templates/rsync-backup.sh.erb +++ b/rsync/templates/rsync-backup.sh.erb @@ -24,7 +24,7 @@ RSYNC_OPTS=( -ax <%= @acl ? "-A" : "" -%> <%= @options ? options : "" -%> --dele FLOCKEXIT=$? # flock's return code # Look for unknown lines in log -/bin/egrep -v "^$|([^ ]{11} )|([*]{5} )|(real|user|sys)" $LOGFILE >/dev/null 2>&1 +/bin/egrep -v "^$|([^ ]{11} )|([*]{5} )|(\*deleting )|(real|user|sys)" $LOGFILE >/dev/null 2>&1 if [ $? -eq 0 ]; then /bin/egrep -v "^([^ ]{11} )" $LOGFILE fi