git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-smbd: Don't close stdout if we want to log to stdout.
[kai/samba.git]
/
source3
/
nmbd
/
nmbd.c
diff --git
a/source3/nmbd/nmbd.c
b/source3/nmbd/nmbd.c
index 4443dfae9f87f54df5b39eb4a0526c7600749ea9..5dc021a54733bc87ca07cc5203854ae5a189cc9f 100644
(file)
--- a/
source3/nmbd/nmbd.c
+++ b/
source3/nmbd/nmbd.c
@@
-889,7
+889,7
@@
static bool open_sockets(bool isdaemon, int port)
if (is_daemon && !opt_interactive) {
DEBUG( 2, ( "Becoming a daemon.\n" ) );
- become_daemon(Fork, no_process_group);
+ become_daemon(Fork, no_process_group
, log_stdout
);
}
#if HAVE_SETPGID