zio-backup: fix args not appending
parent
dc0f2aa433
commit
ac1714cb4a
|
@ -17,7 +17,7 @@ function restic_exec() {
|
|||
--cleanup-cache \
|
||||
--password-file "$passwd_file" \
|
||||
--repo "$repo" \
|
||||
$command `[[ -s $args ]] && echo "$args"`
|
||||
$command $args
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ function backup() {
|
|||
--exclude-if-present ".nobackup" \
|
||||
--host "$host" \
|
||||
--tag "$tag" \
|
||||
`[[ -s $args ]] && echo "$args"` "$path"
|
||||
$args "$path"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue