Make sure we delete the PID file when we exit.

Obtained from:	OpenBSD rev 1.3 (this semi-security fix was hidden as a
                                 lease time fix)
This commit is contained in:
David E. O'Brien 2000-07-20 09:33:24 +00:00
parent ac7ba92669
commit 6ad39c5859

View File

@ -307,6 +307,8 @@ static void usage (appname)
void cleanup ()
{
/* Make sure the pidfile is gone. */
unlink (path_dhclient_pid);
}
/* Individual States: