From 336c9e90303e794d250d56a09d96f47824b9c326 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Fri, 20 Oct 2023 18:01:19 +0200 Subject: [PATCH] Fix daemonization of sidecar closing stderr properly Signed-off-by: Bob Weinand --- sidecar/src/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sidecar/src/unix.rs b/sidecar/src/unix.rs index 6fb3c90e0..ad314089a 100644 --- a/sidecar/src/unix.rs +++ b/sidecar/src/unix.rs @@ -276,7 +276,7 @@ fn daemonize(listener: StdUnixListener, cfg: Config) -> io::Result<()> { } config::LogMethod::Disabled => { spawn_cfg.stdout(Stdio::Null); - spawn_cfg.stdout(Stdio::Null); + spawn_cfg.stderr(Stdio::Null); } _ => {} }