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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63625

View file

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