about 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);
class='logmsg'> In the version of zlib in OpenBSD, these fields are of type off_t, which is signed (why?), rather than uLong. 2020-06-07Call static_assert by _Static_assertJune McEnroe OpenBSD doesn't #define static_assert in assert.h and _Static_assert is its real name I guess so why not? 2020-06-07Add OpenBSD to install.shJune McEnroe Straightforward. 2020-06-03Add The Song of AchillesJune McEnroe 2020-06-01Allow redirecting input in everJune McEnroe 2020-05-31Add %c conversion to c scriptJune McEnroe 2020-05-31Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe