From 5b46d940647a2091680bd8d7df35e3286b6db121 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Wed, 16 Feb 2022 14:00:05 +0800 Subject: [PATCH] fix: codex Signed-off-by: xionglei6 --- src/appspawn_server.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index faaa22a1..0e32e571 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -77,16 +77,6 @@ static void SignalHandler([[maybe_unused]] int sig) int status; while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { - if (WIFEXITED(status) && WEXITSTATUS(status)) { - HiLog::Info(LABEL, "Process %{public}d exited cleanly %{public}d", pid, WEXITSTATUS(status)); - } else if (WIFSIGNALED(status)) { - if (WTERMSIG(status) != SIGKILL) { - HiLog::Info(LABEL, "Process %{public}d exited due to signal %{public}d", pid, WTERMSIG(status)); - } - if (WCOREDUMP(status)) { - HiLog::Info(LABEL, "Process %{public}d dumped core.", pid); - } - } } } -- Gitee