From: Silvio Rhatto Date: Thu, 10 May 2012 20:00:58 +0000 (-0300) Subject: Changing a 'fatal' to a 'warning' on rsync handler. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ba3e37595d7a8fbf9a881ab0b9b14146eb91f3a2;p=backupninja.git Changing a 'fatal' to a 'warning' on rsync handler. Using 'warning' and 'return' instead of a fatal at rotate_long if backuproot doesn't exist. Using a warning ensures that the backup action can process the other includes and not just exit. --- diff --git a/handlers/rsync.in b/handlers/rsync.in index cb72886..6fcda05 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -391,7 +391,8 @@ function rotate_long { local metadata if [ ! -d "$backuproot" ]; then - fatal "Skipping rotate of $backuproot as it doesn't exist." + warning "Skipping rotate of $backuproot as it doesn't exist." + return fi for rottype in daily weekly monthly; do