diff options
author | Andreas Schneider <asn@redhat.com> | 2010-03-26 11:17:37 +0100 |
---|---|---|
committer | Andreas Schneider <asn@redhat.com> | 2010-03-26 14:48:54 +0100 |
commit | a6f25fc635dce0b67422b271e09467e9ea854489 (patch) | |
tree | 7163e806229de11106198ec1eefc569f0cd384a0 /source3/web | |
parent | f70e1b4d43995ac4c7ab020613d3f0af24eb03f6 (diff) | |
download | samba-a6f25fc635dce0b67422b271e09467e9ea854489.tar.gz samba-a6f25fc635dce0b67422b271e09467e9ea854489.tar.bz2 samba-a6f25fc635dce0b67422b271e09467e9ea854489.zip |
s3-smbd: Don't close stdout if we want to log to stdout.
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/startstop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/web/startstop.c b/source3/web/startstop.c index b24410a89f..81350e62f5 100644 --- a/source3/web/startstop.c +++ b/source3/web/startstop.c @@ -36,7 +36,7 @@ void start_smbd(void) } if (asprintf(&binfile, "%s/smbd", get_dyn_SBINDIR()) > 0) { - become_daemon(true, false); + become_daemon(true, false, false); execl(binfile, binfile, "-D", NULL); } exit(0); @@ -56,7 +56,7 @@ void start_nmbd(void) } if (asprintf(&binfile, "%s/nmbd", get_dyn_SBINDIR()) > 0) { - become_daemon(true, false); + become_daemon(true, false, false); execl(binfile, binfile, "-D", NULL); } exit(0); @@ -76,7 +76,7 @@ void start_winbindd(void) } if (asprintf(&binfile, "%s/winbindd", get_dyn_SBINDIR()) > 0) { - become_daemon(true, false); + become_daemon(true, false, false); execl(binfile, binfile, NULL); } exit(0); |