summaryrefslogtreecommitdiff
path: root/source/web/startstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/web/startstop.c')
-rw-r--r--source/web/startstop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/web/startstop.c b/source/web/startstop.c
index 8f28748918f..44945cd5362 100644
--- a/source/web/startstop.c
+++ b/source/web/startstop.c
@@ -36,7 +36,7 @@ void start_smbd(void)
slprintf(binfile, sizeof(pstring) - 1, "%s/smbd", dyn_SBINDIR);
- become_daemon(True);
+ become_daemon(True, False);
execl(binfile, binfile, "-D", NULL);
@@ -56,7 +56,7 @@ void start_nmbd(void)
slprintf(binfile, sizeof(pstring) - 1, "%s/nmbd", dyn_SBINDIR);
- become_daemon(True);
+ become_daemon(True, False);
execl(binfile, binfile, "-D", NULL);
@@ -76,7 +76,7 @@ void start_winbindd(void)
slprintf(binfile, sizeof(pstring) - 1, "%s/winbindd", dyn_SBINDIR);
- become_daemon(True);
+ become_daemon(True, False);
execl(binfile, binfile, NULL);