From 31200911e97dc65b8e68b80f0a843624ac605552 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 9 May 2023 01:35:38 -0700 Subject: [PATCH] Fix backup-keepassxc-db.sh --- backup-keepassxc-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-keepassxc-db.sh b/backup-keepassxc-db.sh index 8af4cd7..069034f 100755 --- a/backup-keepassxc-db.sh +++ b/backup-keepassxc-db.sh @@ -2,7 +2,7 @@ (( ${#} < 1 )) && { echo 'Device name is required'; exit 1 } -local devdir="${HOME}/nextcloud/KeePassXC/${2}" +local devdir="${HOME}/nextcloud/KeePassXC/${1}" if ! [ -d "${devdir}" ]; then mkdir "${devdir}" || exit 1