sh.zio.backup: fix broken logic
This commit is contained in:
parent
85eb0cf874
commit
d454e1a538
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function invoke_restic() {
|
||||||
|
|
||||||
case "$(cat "$restic_repo_file")" in
|
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..."
|
say warning "'$(cat "$restic_repo_file")' does not exist. Creating directory..."
|
||||||
mkdir -p "$(cat "$restic_repo_file")"
|
mkdir -p "$(cat "$restic_repo_file")"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue