Move source4/smbd/pidfile into lib/util in preparation for making it in common.
[metze/samba/wip.git] / source3 / winbindd / winbindd.c
index fe6e34b4b99a7a9cf1417d90d410793282025ef9..dfbcf13eb4b300fe3d432fc50a89f4da3f8f5030 100644 (file)
@@ -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
        /*