]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Fix: borg: exit code handling (2)
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Jul 2024 13:10:04 +0000 (10:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Jul 2024 13:10:04 +0000 (10:10 -0300)
templates/borg.sh.erb

index ee248e6b0be4d477e25187d2250efe67d3643582..6a9367fbe8bd75d40a5b4ebd4f333dd52f08bf29 100644 (file)
@@ -148,6 +148,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then
     gpg_copy_exit=$?
   fi
 else
+  gpg_exit=0
   gpg_copy_exit=0
 fi