From 2922fdaaf0ab2178a1701141cc2435af33c10dc8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 19 Jul 2012 15:41:52 -0700 Subject: Move source4/smbd/pidfile into lib/util in preparation for making it in common. --- source3/winbindd/winbindd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/winbindd/winbindd.c') 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 /* -- cgit