zfsd(8): Remove pidfile on shutdown

MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
This commit is contained in:
asomers 2017-06-20 19:45:02 +00:00
parent 43d1361701
commit d68608959b

View File

@ -437,7 +437,7 @@ void
ZfsDaemon::ClosePIDFile()
{
if (s_pidFH != NULL)
pidfile_close(s_pidFH);
pidfile_remove(s_pidFH);
}
void