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"
|
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…
Add table
Add a link
Reference in a new issue