Page MenuHomeFreeBSD

D29415.id86262.diff
No OneTemporary

D29415.id86262.diff

diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c
--- a/usr.sbin/rpc.lockd/lockd.c
+++ b/usr.sbin/rpc.lockd/lockd.c
@@ -426,7 +426,7 @@
* Note that it is NOT sensible to run this program from inetd - the
* protocol assumes that it will run immediately at boot time.
*/
- if ((foreground == 0) && daemon(0, debug_level > 0)) {
+ if ((foreground == 0) && daemon(0, 0) < 0) {
err(1, "cannot fork");
/* NOTREACHED */
}

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 25, 5:56 PM (16 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37244477
Default Alt Text
D29415.id86262.diff (452 B)

Event Timeline