diff --git a/usr/local/bin/sh.zio.backup b/usr/local/bin/sh.zio.backup index b914e51..1fc1ca0 100755 --- a/usr/local/bin/sh.zio.backup +++ b/usr/local/bin/sh.zio.backup @@ -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