zio-backup: fix broken conditional statement
parent
2ab3c435ce
commit
df2e780888
|
@ -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…
Reference in New Issue