summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe xhr <xhr@giessen.ccc.de>2021-08-26 10:54:46 +0200
committerthe xhr <xhr@giessen.ccc.de>2021-08-26 10:54:46 +0200
commit9ebb8b991cd392eaebc938fb6fe761b964b199de (patch)
tree5f58dd8357c5d5aab821c364e98b0a640ae20822
parentee3ef24fe50c748431c0b5c02e3bc60c0f30add4 (diff)
Set title for main process
-rw-r--r--twind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/twind.c b/twind.c
index 626afb6..479fdf2 100644
--- a/twind.c
+++ b/twind.c
@@ -344,6 +344,8 @@ fork_main_process(int tcpsock[2], SSL_CTX *sslctx)
pid_t pid;
int i;
+ setproctitle("main");
+
/* Fork two main handler processes, one for IPv4, one for IPv6 */
for (i=0; i < 2; i++) {
if (tcpsock[i] == -1)
generated by cgit on OpenBSD