From d98e87de5ac05cecfcc542832d91201df2f65516 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Tue, 12 Apr 2022 13:20:34 +0800 Subject: [PATCH] fix(cluster): the log is printed twice in multi-process mode --- source/os/src/osProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/os/src/osProc.c b/source/os/src/osProc.c index 1cdd41ad78..b6de638ac2 100644 --- a/source/os/src/osProc.c +++ b/source/os/src/osProc.c @@ -24,7 +24,7 @@ int32_t taosNewProc(char **args) { if (pid == 0) { args[0] = tsProcPath; // close(STDIN_FILENO); - close(STDOUT_FILENO); + // close(STDOUT_FILENO); // close(STDERR_FILENO); return execvp(tsProcPath, args); } else { -- GitLab