Fix backup-keepassxc-db.sh

This commit is contained in:
Alexander Rosenberg 2023-05-09 01:35:38 -07:00
parent 89673bbce8
commit 31200911e9
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -2,7 +2,7 @@
(( ${#} < 1 )) && { echo 'Device name is required'; exit 1 } (( ${#} < 1 )) && { echo 'Device name is required'; exit 1 }
local devdir="${HOME}/nextcloud/KeePassXC/${2}" local devdir="${HOME}/nextcloud/KeePassXC/${1}"
if ! [ -d "${devdir}" ]; then if ! [ -d "${devdir}" ]; then
mkdir "${devdir}" || exit 1 mkdir "${devdir}" || exit 1