zio-backup: fix broken conditional statement
parent
2ab3c435ce
commit
df2e780888
|
@ -11,7 +11,7 @@ function backup() {
|
||||||
tag="$2"
|
tag="$2"
|
||||||
args="${@:3}"
|
args="${@:3}"
|
||||||
|
|
||||||
[[ ! -d $path ]]; then
|
if [[ ! -d $path ]]; then
|
||||||
warn "'$path' does not exist. Not backing up."
|
warn "'$path' does not exist. Not backing up."
|
||||||
else
|
else
|
||||||
tag="$host_$tag"
|
tag="$host_$tag"
|
||||||
|
|
Loading…
Reference in New Issue