summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-03-26 11:17:37 +0100
committerAndreas Schneider <asn@redhat.com>2010-03-26 14:48:54 +0100
commita6f25fc635dce0b67422b271e09467e9ea854489 (patch)
tree7163e806229de11106198ec1eefc569f0cd384a0 /source3/winbindd
parentf70e1b4d43995ac4c7ab020613d3f0af24eb03f6 (diff)
downloadsamba-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/winbindd')
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index b04fd5db2b..86304e98c5 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1185,7 +1185,7 @@ int main(int argc, char **argv, char **envp)
BlockSignals(False, SIGCHLD);
if (!interactive)
- become_daemon(Fork, no_process_group);
+ become_daemon(Fork, no_process_group, log_stdout);
pidfile_create("winbindd");