openwrt-owl/package/ppp/patches/103-debian_fix_link_pidfile...

13 lines
305 B
Diff
Raw Normal View History

2009-05-21 10:49:21 +00:00
--- 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();