From 58daab21cd043e1dc37024a7f99b396788372918 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Mar 2024 14:19:48 +0100 Subject: Merging upstream version 1.44.3. Signed-off-by: Daniel Baumann --- spawn/spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spawn') diff --git a/spawn/spawn.c b/spawn/spawn.c index b7839ad68..3d62df796 100644 --- a/spawn/spawn.c +++ b/spawn/spawn.c @@ -215,7 +215,7 @@ int create_spawn_server(uv_loop_t *loop, uv_pipe_t *spawn_channel, uv_process_t stdio[1].flags = UV_INHERIT_FD; stdio[1].data.fd = 1 /* UV_STDOUT_FD */; stdio[2].flags = UV_INHERIT_FD; - stdio[2].data.fd = 2 /* UV_STDERR_FD */; + stdio[2].data.fd = nd_log_health_fd() /* UV_STDERR_FD */; ret = uv_spawn(loop, process, &options); /* execute the netdata binary again as the netdata user */ if (0 != ret) { -- cgit v1.2.3