devd(8): Remove pidfile on shutdown
MFC after: 3 weeks Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
6bd94a4679
commit
91cfa6b8f9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user