diff options
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r-- | handlers/rsync.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in index 76aca7c..c5c7cac 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -387,8 +387,8 @@ function rotate_long { local metadata if [ ! -d "$backuproot" ]; then - echo "Debug: skipping rotate of $backuproot as it doesn't exist." - exit + warning "Skipping rotate of $backuproot as it doesn't exist." + return fi for rottype in daily weekly monthly; do @@ -510,7 +510,7 @@ function rotate_long_remote { now=\`date +%s\` if [ ! -d "$backuproot" ]; then - echo "Debug: skipping rotate of $backuproot as it doesn't exist." + echo "Fatal: skipping rotate of $backuproot as it doesn't exist." exit fi |