diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-13 10:10:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-13 10:10:04 -0300 |
commit | 3c5f1b0d3d82ae5228344c230cfaaf1879f9d735 (patch) | |
tree | c3842a117c1c9f4012b1be9236c2a214b2cf9bb7 | |
parent | 7f55250f3018f610ccc3874c1bde2f3d5ef533a0 (diff) | |
download | puppet-backup-3c5f1b0d3d82ae5228344c230cfaaf1879f9d735.tar.gz puppet-backup-3c5f1b0d3d82ae5228344c230cfaaf1879f9d735.tar.bz2 |
Fix: borg: exit code handling (2)
-rw-r--r-- | templates/borg.sh.erb | 1 |
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 |