svn commit: r320167 - head/cddl/usr.sbin/zfsd

Alan Somers asomers at FreeBSD.org
Tue Jun 20 19:45:04 UTC 2017


Author: asomers
Date: Tue Jun 20 19:45:02 2017
New Revision: 320167
URL: https://svnweb.freebsd.org/changeset/base/320167

Log:
  zfsd(8): Remove pidfile on shutdown
  
  MFC after:	3 weeks
  Sponsored by:	Spectra Logic Corp

Modified:
  head/cddl/usr.sbin/zfsd/zfsd.cc

Modified: head/cddl/usr.sbin/zfsd/zfsd.cc
==============================================================================
--- head/cddl/usr.sbin/zfsd/zfsd.cc	Tue Jun 20 19:34:21 2017	(r320166)
+++ head/cddl/usr.sbin/zfsd/zfsd.cc	Tue Jun 20 19:45:02 2017	(r320167)
@@ -437,7 +437,7 @@ void
 ZfsDaemon::ClosePIDFile()
 {
 	if (s_pidFH != NULL)
-		pidfile_close(s_pidFH);
+		pidfile_remove(s_pidFH);
 }
 
 void


More information about the svn-src-all mailing list