From 3c5f1b0d3d82ae5228344c230cfaaf1879f9d735 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 13 Jul 2024 10:10:04 -0300 Subject: Fix: borg: exit code handling (2) --- templates/borg.sh.erb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3