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
Diffstat (limited to '')
-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);
cgit-pink/commit/ui-shared.c?h=1.4.0&id=f03e3cb8a5c6b597b87321e1f082d3ab177e8baa&follow=1'>ui-shared: extract date formatting to a functionJohn Keeping 2015-08-13filter: don't use dlsym unnecessarilyJohn Keeping 2015-08-13ui-tree: use "sane" isgraph()John Keeping 2015-08-13cgit.h: move stdbool.h from ui-shared.hJohn Keeping 2015-08-13cache.c: fix header orderJohn Keeping 2015-08-13configfile.c: don't include system headers directlyJohn Keeping 2015-08-13Remove redundant includesJohn Keeping 2015-08-13Makefile: include Git's config.mak.unameJohn Keeping 2015-08-13tests: allow shell to be overriddenJohn Keeping 2015-08-13redirect: cleanlinessJason A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping 2015-08-12log: allow users to follow a fileJohn Keeping 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld 2015-08-12filters: apply HTML escapingLazaros Koromilas 2015-08-12git: update to v2.5.0Christian Hesse 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt