From: Silvio Rhatto Date: Sat, 26 May 2018 13:15:19 +0000 (-0300) Subject: Borg: preserve exit code X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6;p=puppet-backup.git Borg: preserve exit code --- diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb index eab1a43..6c5e3ab 100644 --- a/templates/borg.sh.erb +++ b/templates/borg.sh.erb @@ -104,7 +104,7 @@ if [ ${global_exit} -eq 1 ]; then fi if [ ${global_exit} -gt 1 ]; then - fatal "Backup and/or Prune finished with an error" + info "Backup and/or Prune finished with an error" fi -#exit ${global_exit} +exit ${global_exit}