diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-07 15:14:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-07 15:14:23 +0000 |
commit | ac7f2188683b49e45874f9b3a2418a2724c5d477 (patch) | |
tree | 1acaf3cd329b43fe265e4e6d4baecc97c5886d40 /usr.sbin | |
parent | 13608b8eb976ccd94106b48b83b459ed5df4dc3f (diff) |
setproctitle(NULL) is not needed, Michael Lechtermann; ok mpf
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ifstated/ifstated.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ifstated/ifstated.c b/usr.sbin/ifstated/ifstated.c index 2f54809abaa..dfaaea6d46f 100644 --- a/usr.sbin/ifstated/ifstated.c +++ b/usr.sbin/ifstated/ifstated.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifstated.c,v 1.36 2010/02/04 13:50:14 stevesk Exp $ */ +/* $OpenBSD: ifstated.c,v 1.37 2010/06/07 15:14:22 deraadt Exp $ */ /* * Copyright (c) 2004 Marco Pfatschbacher <mpf@openbsd.org> @@ -134,10 +134,8 @@ main(int argc, char *argv[]) exit(0); } - if (!debug) { + if (!debug) daemon(1, 0); - setproctitle(NULL); - } event_init(); log_init(debug); |