Author: asomers
Date: Tue Jun 20 19:32:39 2017
New Revision: 320165
URL: https://svnweb.freebsd.org/changeset/base/320165

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

Modified:
  head/sbin/devd/devd.cc

Modified: head/sbin/devd/devd.cc
==============================================================================
--- head/sbin/devd/devd.cc      Tue Jun 20 19:16:06 2017        (r320164)
+++ head/sbin/devd/devd.cc      Tue Jun 20 19:32:39 2017        (r320165)
@@ -1108,6 +1108,7 @@ event_loop(void)
                if (FD_ISSET(seqpacket_fd, &fds))
                        new_client(seqpacket_fd, SOCK_SEQPACKET);
        }
+       cfg.remove_pidfile();
        close(seqpacket_fd);
        close(stream_fd);
        close(fd);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to