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