aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-02-25 14:54:23 +0100
committerintrigeri <intrigeri@boum.org>2012-02-25 14:56:56 +0100
commit3ac357dd957c88b22575bdde9d65ae29fe073250 (patch)
tree530c50faf9aa0dbace4d6fd8f051755f6b22a8bb /handlers
parent50c2f6e02a13fb939bdf551b6de611d5b9453272 (diff)
downloadbackupninja-3ac357dd957c88b22575bdde9d65ae29fe073250.tar.gz
backupninja-3ac357dd957c88b22575bdde9d65ae29fe073250.tar.bz2
Report failure of rdiff-backup jobs as such.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/rdiff.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/rdiff.in b/handlers/rdiff.in
index c2f5aa0..c3c8d1d 100644
--- a/handlers/rdiff.in
+++ b/handlers/rdiff.in
@@ -271,8 +271,8 @@ if [ $test = 0 ]; then
debug $output
info "Successfully finished backing up source $label"
else
- warning $output
- warning "Failed backup up source $label"
+ error $output
+ fatal "Failed backup up source $label"
fi
fi