Fix backup-keepassxc-db.sh
This commit is contained in:
parent
89673bbce8
commit
31200911e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user