mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
d21f38210a
SVN-Revision: 15958
13 lines
305 B
Diff
13 lines
305 B
Diff
--- a/pppd/main.c
|
|
+++ b/pppd/main.c
|
|
@@ -772,8 +772,7 @@ detach()
|
|
/* 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();
|