aboutsummaryrefslogtreecommitdiff
path: root/handlers/rsync.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-05-13 02:33:37 +0200
committerintrigeri <intrigeri@boum.org>2012-05-13 02:33:37 +0200
commitc52239140489236d927506086f972b4f8c5f6fd6 (patch)
tree4bb084ea47cd71c205c8e5e526b3f72cfcb0877f /handlers/rsync.in
parent38a0fc572a5211679c9887a32baf14f7096d6941 (diff)
parentba3e37595d7a8fbf9a881ab0b9b14146eb91f3a2 (diff)
downloadbackupninja-c52239140489236d927506086f972b4f8c5f6fd6.tar.gz
backupninja-c52239140489236d927506086f972b4f8c5f6fd6.tar.bz2
Merge remote-tracking branch 'sarava/bug/3721'
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r--handlers/rsync.in6
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