diff options
author | Jeremy Allison <jra@samba.org> | 2012-07-19 15:41:52 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-19 15:41:52 -0700 |
commit | 2922fdaaf0ab2178a1701141cc2435af33c10dc8 (patch) | |
tree | 1b1a3c9dd8eb6151f4c9c640543ca5e4dbebdfdc /source3/nmbd | |
parent | 03a6137001c418c254505ddab694e1aefc73985d (diff) | |
download | samba-2922fdaaf0ab2178a1701141cc2435af33c10dc8.tar.gz samba-2922fdaaf0ab2178a1701141cc2435af33c10dc8.tar.bz2 samba-2922fdaaf0ab2178a1701141cc2435af33c10dc8.zip |
Move source4/smbd/pidfile into lib/util in preparation for making it in common.
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index ebe83a6147..35ed3c0d92 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -70,7 +70,7 @@ static void terminate(struct messaging_context *msg) gencache_stabilize(); serverid_deregister(messaging_server_id(msg)); - pidfile_unlink(); + pidfile_unlink_s3(); exit(0); } @@ -942,7 +942,7 @@ static bool open_sockets(bool isdaemon, int port) mkdir(lp_piddir(), 0755); } - pidfile_create("nmbd"); + pidfile_create_s3("nmbd"); status = reinit_after_fork(msg, nmbd_event_context(), false); |