diff options
author | June McEnroe <june@causal.agency> | 2023-10-08 13:49:59 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-10-08 13:49:59 -0400 |
commit | 8fe642fc5de16f7571f40895e65dd8173f5d1dde (patch) | |
tree | 5bf1cbac49dca18be8226ee762fdb98d5f24d286 | |
parent | Add rc script (diff) | |
download | kitd-8fe642fc5de16f7571f40895e65dd8173f5d1dde.tar.gz kitd-8fe642fc5de16f7571f40895e65dd8173f5d1dde.zip |
Don't put the child PID in proctitle
-rw-r--r-- | kitd.c | 2 |
1 files changed, 0 insertions, 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); |