From: Silvio Rhatto Date: Sat, 13 Jul 2024 13:10:04 +0000 (-0300) Subject: Fix: borg: exit code handling (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3c5f1b0d3d82ae5228344c230cfaaf1879f9d735;p=puppet-backup.git Fix: borg: exit code handling (2) --- diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb index ee248e6..6a9367f 100644 --- a/templates/borg.sh.erb +++ b/templates/borg.sh.erb @@ -148,6 +148,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then gpg_copy_exit=$? fi else + gpg_exit=0 gpg_copy_exit=0 fi