diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-26 10:15:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-26 10:15:19 -0300 |
commit | 0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6 (patch) | |
tree | 03169751d07d55e7f5253605d79e8baa199dcd3d | |
parent | bcaf3db8a6a20d863ea5f672d5b76dc3884871a3 (diff) | |
download | puppet-backup-0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6.tar.gz puppet-backup-0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6.tar.bz2 |
Borg: preserve exit code
-rw-r--r-- | templates/borg.sh.erb | 4 |
1 files changed, 2 insertions, 2 deletions
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} |