From 0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 May 2018 10:15:19 -0300 Subject: Borg: preserve exit code --- templates/borg.sh.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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} -- cgit v1.2.3