Skip to content
Snippets Groups Projects
Commit 3a94e3bc authored by intrigeri's avatar intrigeri
Browse files

Report duplicity failure output at error loglevel so that it is emailed.

parent 3ac357dd
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,8 @@ version 1.0 -- UNRELEASED
. Adapt for new duplicity SSH backend.
Support bandwidthlimit with new duplicity, using trickle.
(Closes: #657201)
. Report failure output at error loglevel so that it is emailed
(Closes: #536858)
mysql:
. Don't attempt to dump performance_schema database (Redmine#3741).
pgsql:
......
......@@ -339,7 +339,11 @@ if [ ! $test ]; then
exit_code=$?
debug $output
cat $outputfile | (while read output ; do
if [ $exit_code -eq 0 ]; then
info $output
else
error $output
fi
done
)
if [ $exit_code -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment