diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2016-02-02 17:51:12 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2016-02-02 17:51:12 +0000 |
commit | 848453065448cd57923a6f38a376e35ad6ee353b (patch) | |
tree | e6bf2757c3fa584b9212a43bab80aa68518f9d9b /usr.sbin/ospfd | |
parent | 73d06a140f51dde0e67ada4c2e533f9a68730e16 (diff) |
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/ospfd')
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index 358a8e6ac58..932efb726bd 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.88 2015/12/05 12:20:13 claudio Exp $ */ +/* $OpenBSD: ospfd.c,v 1.89 2016/02/02 17:51:11 sthen Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -243,9 +243,6 @@ main(int argc, char *argv[]) ospfe_pid = ospfe(ospfd_conf, pipe_parent2ospfe, pipe_ospfe2rde, pipe_parent2rde); - /* show who we are */ - setproctitle("parent"); - event_init(); /* setup signal handler */ |