Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2017 19:45:03 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320167 - head/cddl/usr.sbin/zfsd
Message-ID:  <201706201945.v5KJj3vx004067@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706201945.v5KJj3vx004067>