zfsd(8): Remove pidfile on shutdown

MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
This commit is contained in:
Alan Somers 2017-06-20 19:45:02 +00:00
parent 2852e2b235
commit 19d04786c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320167

View File

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