summaryrefslogtreecommitdiffstats
path: root/spawn
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:20:02 +0000
commit58daab21cd043e1dc37024a7f99b396788372918 (patch)
tree96771e43bb69f7c1c2b0b4f7374cb74d7866d0cb /spawn
parentReleasing debian version 1.43.2-1. (diff)
downloadnetdata-58daab21cd043e1dc37024a7f99b396788372918.tar.xz
netdata-58daab21cd043e1dc37024a7f99b396788372918.zip
Merging upstream version 1.44.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'spawn')
-rw-r--r--spawn/spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spawn/spawn.c b/spawn/spawn.c
index b7839ad6..3d62df79 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) {