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