summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/startstop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/startstop.c b/source3/web/startstop.c
index e60b13ae66..5f7d2e6206 100644
--- a/source3/web/startstop.c
+++ b/source3/web/startstop.c
@@ -41,7 +41,7 @@ void start_smbd(void)
become_daemon();
- execl(binfile, "-D", NULL);
+ execl(binfile, "smbd", "-D", NULL);
exit(0);
}
@@ -62,7 +62,7 @@ void start_nmbd(void)
become_daemon();
- execl(binfile, "-D", NULL);
+ execl(binfile, "nmbd", "-D", NULL);
exit(0);
}