git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae865d
)
fixed call to execl() to get argv[0] right (thanks to Herb)
author
Andrew Tridgell
<tridge@samba.org>
Tue, 17 Mar 1998 00:04:18 +0000
(
00:04
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 17 Mar 1998 00:04:18 +0000
(
00:04
+0000)
source/web/startstop.c
patch
|
blob
|
history
diff --git
a/source/web/startstop.c
b/source/web/startstop.c
index e60b13ae6693fa91736a42163cf8e9ef9b50234d..5f7d2e62062b8178729f14e746c7aea574a82536 100644
(file)
--- a/
source/web/startstop.c
+++ b/
source/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);
}