summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-07-19 15:41:52 -0700
committerJeremy Allison <jra@samba.org>2012-07-19 15:41:52 -0700
commit2922fdaaf0ab2178a1701141cc2435af33c10dc8 (patch)
tree1b1a3c9dd8eb6151f4c9c640543ca5e4dbebdfdc /source3/winbindd
parent03a6137001c418c254505ddab694e1aefc73985d (diff)
downloadsamba-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/winbindd')
-rw-r--r--source3/winbindd/winbindd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index fe6e34b4b9..dfbcf13eb4 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -184,7 +184,7 @@ static void terminate(bool is_parent)
if (is_parent) {
serverid_deregister(procid_self());
- pidfile_unlink();
+ pidfile_unlink_s3();
}
exit(0);
@@ -1449,7 +1449,7 @@ int main(int argc, char **argv, char **envp)
if (!interactive)
become_daemon(Fork, no_process_group, log_stdout);
- pidfile_create("winbindd");
+ pidfile_create_s3("winbindd");
#if HAVE_SETPGID
/*