Allow overriding the datman binary.
This commit is contained in:
parent
ec278f954f
commit
be5fea47c6
@ -96,7 +96,13 @@ pub fn backup_remote_source_to_destination(
|
||||
let connection = Command::new("ssh")
|
||||
.arg(&remote_host_descriptor.user_at_host)
|
||||
.arg("--")
|
||||
.arg("datman")
|
||||
.arg(
|
||||
&remote_host_descriptor
|
||||
.path_to_datman
|
||||
.as_ref()
|
||||
.map(|x| x.as_str())
|
||||
.unwrap_or("datman"),
|
||||
)
|
||||
.arg("_backup_source_responder")
|
||||
.stdin(Stdio::piped())
|
||||
.stdout(Stdio::piped())
|
||||
|
Loading…
Reference in New Issue
Block a user