summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-04-08 15:31:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-04-08 15:31:15 +0000
commitc786d58a8dcee4ca0e790816c3fc447dc55ca938 (patch)
tree7259207ef23c83a326004fadfdce4d1d12342f37 /usr.sbin/rpki-client
parentad3f5164cab122c9eab35da509d5bfa413c80f1f (diff)
Missing setproctitle("rrdp") noticed by deraadt@
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r--usr.sbin/rpki-client/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index dc7d2548e05..d5fb95cad05 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.131 2021/04/07 16:06:37 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.132 2021/04/08 15:31:14 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -836,6 +836,7 @@ main(int argc, char *argv[])
close(http);
close(fd[1]);
+ setproctitle("rrdp");
/* change working directory to the cache directory */
if (fchdir(cachefd) == -1)
err(1, "fchdir");