Skip to content

Commit

Permalink
fix: fix vaultwarden restore
Browse files Browse the repository at this point in the history
  • Loading branch information
johnae committed Aug 24, 2024
1 parent 0657659 commit bd1f4b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions profiles/vaultwarden.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
echo "No vaultwarden backup exists, skipping restore"
exit 0
fi
BACKUP="${cfg.backupDir}/$BACKUP"
if [ ! -e "$BACKUP/rsa_key.pem" ]; then
echo "No vaultwarden rsa_key.pem backup exists, skipping restore"
exit 0
Expand Down

0 comments on commit bd1f4b2

Please sign in to comment.