diff --git a/pppd/main.c b/pppd/main.c index 76b67d2..8e31365 100644 --- a/pppd/main.c +++ b/pppd/main.c @@ -765,8 +765,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();