From 8fe642fc5de16f7571f40895e65dd8173f5d1dde Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 8 Oct 2023 13:49:59 -0400 Subject: Don't put the child PID in proctitle --- kitd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kitd.c b/kitd.c index 26cfa28..4e5f518 100644 --- a/kitd.c +++ b/kitd.c @@ -222,7 +222,6 @@ int main(int argc, char *argv[]) { continue; } child = 0; - setproctitle("%s", name); if (WIFEXITED(status)) { int exit = WEXITSTATUS(status); @@ -277,7 +276,6 @@ int main(int argc, char *argv[]) { } if (child) { clock_gettime(CLOCK_MONOTONIC, &uptime); - setproctitle("%s [%d]", name, child); } else { setpgid(0, 0); dup2(stdoutRW[1], STDOUT_FILENO); -- cgit 1.4.1