diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-05-17 21:12:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-05-17 21:12:23 -0300 |
commit | 376049d970385bdb2b851590ed49607c0005d248 (patch) | |
tree | 3bddc0f37f5ad5dd9c4e28047e17bc3d31074fd7 | |
parent | b40c7aa2034b2296ed86b5e206777732ba9aff26 (diff) | |
download | puppet-backup-376049d970385bdb2b851590ed49607c0005d248.tar.gz puppet-backup-376049d970385bdb2b851590ed49607c0005d248.tar.bz2 |
Minor fix
-rw-r--r-- | templates/borg.sh.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |