summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-17 00:32:34 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-17 00:32:34 +0000
commit8ffcec16feaced3716554f3885085381815c99bf (patch)
treeae669e42ff4c674db91eeeea8b5c2ae0e8e099f5 /source3/web
parent98034962747589c8066d29f1884ca06974aeb1f1 (diff)
downloadsamba-8ffcec16feaced3716554f3885085381815c99bf.tar.gz
samba-8ffcec16feaced3716554f3885085381815c99bf.tar.bz2
samba-8ffcec16feaced3716554f3885085381815c99bf.zip
show full path in ps by setting it in argv[0]
(This used to be commit 89a4dc6cf9175d5fcdd827d90e4fed26576a4570)
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 5f7d2e6206..7ac66f2180 100644
--- a/source3/web/startstop.c
+++ b/source3/web/startstop.c
@@ -41,7 +41,7 @@ void start_smbd(void)
become_daemon();
- execl(binfile, "smbd", "-D", NULL);
+ execl(binfile, binfile, "-D", NULL);
exit(0);
}
@@ -62,7 +62,7 @@ void start_nmbd(void)
become_daemon();
- execl(binfile, "nmbd", "-D", NULL);
+ execl(binfile, binfile, "-D", NULL);
exit(0);
}