summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c4
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);