From 376049d970385bdb2b851590ed49607c0005d248 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 17 May 2024 21:12:23 -0300 Subject: Minor fix --- templates/borg.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb index 646a41c..6519814 100644 --- a/templates/borg.sh.erb +++ b/templates/borg.sh.erb @@ -131,7 +131,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then if [ ! -z "$GPG_KEY" ] && [ ! -z "$GPG_PASS" ]; then info "Backing up the OpenPGP-encrypted repository key into the remote destination..." - rm -f $BORG_KEY_FILE + rm -f $BORG_KEY_FILE.asc echo $GPG_PASS | gpg --armor --encrypt --passphrase-fd 0 \ --recipient $GPG_KEY --default-key $GPG_KEY \ -- cgit v1.2.3