aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-13 10:10:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-13 10:10:04 -0300
commit3c5f1b0d3d82ae5228344c230cfaaf1879f9d735 (patch)
treec3842a117c1c9f4012b1be9236c2a214b2cf9bb7
parent7f55250f3018f610ccc3874c1bde2f3d5ef533a0 (diff)
downloadpuppet-backup-3c5f1b0d3d82ae5228344c230cfaaf1879f9d735.tar.gz
puppet-backup-3c5f1b0d3d82ae5228344c230cfaaf1879f9d735.tar.bz2
Fix: borg: exit code handling (2)
-rw-r--r--templates/borg.sh.erb1
1 files changed, 1 insertions, 0 deletions
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