zio-backup: fix broken conditional statement
This commit is contained in:
parent
2ab3c435ce
commit
df2e780888
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function backup() {
|
|||
tag="$2"
|
||||
args="${@:3}"
|
||||
|
||||
[[ ! -d $path ]]; then
|
||||
if [[ ! -d $path ]]; then
|
||||
warn "'$path' does not exist. Not backing up."
|
||||
else
|
||||
tag="$host_$tag"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue