Report failure of rdiff-backup jobs as such.

This commit is contained in:
intrigeri 2012-02-25 14:54:23 +01:00
parent 50c2f6e02a
commit 3ac357dd95
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@ version 1.0 -- UNRELEASED
. Don't attempt to dump performance_schema database (Redmine#3741).
pgsql:
. Don't produce empty uncompressed backups (Redmine#3820).
rdiff-backup:
. Use fatal function to report failure of rdiff-backup jobs as such.
rysnc:
. Fix numericids option (Redmine#3691).
. Mangle $rsync_options just afterwards (Redmine#3702).

View File

@ -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