]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Borg: preserve exit code
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 26 May 2018 13:15:19 +0000 (10:15 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 26 May 2018 13:15:19 +0000 (10:15 -0300)
templates/borg.sh.erb

index eab1a4349368112c7b5c3891b88e7bbe7918dd36..6c5e3ab7d06eda499eae82c46b537f9c6f06e417 100644 (file)
@@ -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}