From bc23129759309556c71781208be5a2ad238aba9b Mon Sep 17 00:00:00 2001 From: J M <2364004+Blu-J@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:06:54 -0700 Subject: [PATCH] chore: Fix on the rsync not having stdout. (#1911) --- backend/src/util/rsync.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/util/rsync.rs b/backend/src/util/rsync.rs index 377cfcbab..83ba739be 100644 --- a/backend/src/util/rsync.rs +++ b/backend/src/util/rsync.rs @@ -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();