diff options
author | sthen <sthen@openbsd.org> | 2016-02-02 17:51:11 +0000 |
---|---|---|
committer | sthen <sthen@openbsd.org> | 2016-02-02 17:51:11 +0000 |
commit | e962b3caabcc7cb3a2f222a57ac30a7b9937958d (patch) | |
tree | 46d599163283ccecd51b573485e4559b9e8126b5 /usr.sbin/ripd | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-e962b3caabcc7cb3a2f222a57ac30a7b9937958d.tar.xz wireguard-openbsd-e962b3caabcc7cb3a2f222a57ac30a7b9937958d.zip |
Remove setproctitle() for the parent process. Because rc.d(8) uses process
titles (including flags) to distinguish between daemons, this makes it
possible to manage multiple copies of a daemon using the normal infrastructure
by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r-- | usr.sbin/ripd/ripd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ripd/ripd.c b/usr.sbin/ripd/ripd.c index a3d69366359..da0d8f3f702 100644 --- a/usr.sbin/ripd/ripd.c +++ b/usr.sbin/ripd/ripd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ripd.c,v 1.26 2015/12/05 13:13:47 claudio Exp $ */ +/* $OpenBSD: ripd.c,v 1.27 2016/02/02 17:51:11 sthen Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -221,9 +221,6 @@ main(int argc, char *argv[]) rde_pid = rde(conf, pipe_parent2rde, pipe_ripe2rde, pipe_parent2ripe); ripe_pid = ripe(conf, pipe_parent2ripe, pipe_ripe2rde, pipe_parent2rde); - /* show who we are */ - setproctitle("parent"); - event_init(); /* setup signal handler */ |