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 /source4/smbd | |
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 'source4/smbd')
-rw-r--r-- | source4/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 83f6e7d806..a09da3ce76 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -336,7 +336,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ if (opt_daemon) { DEBUG(3,("Becoming a daemon.\n")); - become_daemon(true, false); + become_daemon(true, false, false); } cleanup_tmp_files(cmdline_lp_ctx); |