mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
chore: Fix on the rsync not having stdout. (#1911)
This commit is contained in:
@@ -48,12 +48,13 @@ impl Rsync {
|
||||
cmd.arg("--ignore-existing");
|
||||
}
|
||||
let mut command = cmd
|
||||
.arg("-a")
|
||||
.arg("-ac")
|
||||
.arg("--info=progress2")
|
||||
.arg(src.as_ref())
|
||||
.arg(dst.as_ref())
|
||||
.kill_on_drop(true)
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.stderr(std::process::Stdio::piped())
|
||||
.spawn()?;
|
||||
let cmd_stdout = command.stdout.take().unwrap();
|
||||
let mut cmd_stderr = command.stderr.take().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user