diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-03-17 00:32:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-03-17 00:32:34 +0000 |
commit | 89a4dc6cf9175d5fcdd827d90e4fed26576a4570 (patch) | |
tree | 16cd6cd2a693a1e9f5133402c6f2916242e39108 /source | |
parent | aaa4db4de3eb16d50d0263c8e69ace6217355f11 (diff) | |
download | samba-89a4dc6cf9175d5fcdd827d90e4fed26576a4570.tar.gz samba-89a4dc6cf9175d5fcdd827d90e4fed26576a4570.tar.xz samba-89a4dc6cf9175d5fcdd827d90e4fed26576a4570.zip |
show full path in ps by setting it in argv[0]
Diffstat (limited to 'source')
-rw-r--r-- | source/web/startstop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/web/startstop.c b/source/web/startstop.c index 5f7d2e62062..7ac66f21800 100644 --- a/source/web/startstop.c +++ b/source/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); } |