2
0
Fork 0

sh.zio.backup: fix broken logic

main
Ducky 2023-08-22 01:46:37 +01:00
parent 85eb0cf874
commit d454e1a538
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function invoke_restic() {
case "$(cat "$restic_repo_file")" in
"/"*)
if [[ ! -d "$(cat "$restic_repo_file")" ]];
if [[ ! -d "$(cat "$restic_repo_file")" ]]; then
say warning "'$(cat "$restic_repo_file")' does not exist. Creating directory..."
mkdir -p "$(cat "$restic_repo_file")"
fi