2009-05-21 18:49:21 +08:00
|
|
|
--- a/pppd/main.c
|
|
|
|
+++ b/pppd/main.c
|
2011-07-29 00:51:12 +08:00
|
|
|
@@ -773,8 +773,7 @@ detach()
|
2009-05-21 06:36:38 +08:00
|
|
|
/* update pid files if they have been written already */
|
|
|
|
if (pidfilename[0])
|
|
|
|
create_pidfile(pid);
|
|
|
|
- if (linkpidfile[0])
|
|
|
|
- create_linkpidfile(pid);
|
|
|
|
+ create_linkpidfile(pid);
|
|
|
|
exit(0); /* parent dies */
|
|
|
|
}
|
|
|
|
setsid();
|