summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-08 13:49:59 -0400
committerJune McEnroe <june@causal.agency>2023-10-08 13:49:59 -0400
commit8fe642fc5de16f7571f40895e65dd8173f5d1dde (patch)
tree5bf1cbac49dca18be8226ee762fdb98d5f24d286
parentAdd rc script (diff)
downloadkitd-8fe642fc5de16f7571f40895e65dd8173f5d1dde.tar.gz
kitd-8fe642fc5de16f7571f40895e65dd8173f5d1dde.zip
Don't put the child PID in proctitle
-rw-r--r--kitd.c2
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);