summaryrefslogtreecommitdiff
path: root/package/ppp/patches/103-debian_fix_link_pidfile.patch
blob: b8c4aaaf6aa791341c9ecf96d642ce400cf267f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/pppd/main.c
+++ b/pppd/main.c
@@ -773,8 +773,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();