devd(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:32:39 +00:00
parent 6bd94a4679
commit 91cfa6b8f9

View File

@ -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);