summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r--source3/nsswitch/winbindd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index c096ca9b0f..eb8a36af55 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -866,11 +866,10 @@ int main(int argc, char **argv)
if (!init_names())
exit(1);
- if (!interactive) {
+ if (!interactive)
become_daemon(Fork);
- pidfile_create("winbindd");
- }
+ pidfile_create("winbindd");
#if HAVE_SETPGID
/*