git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da318d
)
s3fs: when samba is logging to stdout, ask smbd to also do so
author
Andrew Tridgell
<tridge@samba.org>
Thu, 9 Feb 2012 03:07:00 +0000
(14:07 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 28 Feb 2012 11:01:08 +0000
(12:01 +0100)
this prevents make test getting spurious errors about opening log
files in the install prefix
file_server/file_server.c
patch
|
blob
|
history
diff --git
a/file_server/file_server.c
b/file_server/file_server.c
index 2c5ec43fe1b641fe984351f5c49a262adda97e7b..3f5ca7720801611c5b54111aa353800f12599bd5 100644
(file)
--- a/
file_server/file_server.c
+++ b/
file_server/file_server.c
@@
-101,7
+101,9
@@
static void s3fs_task_init(struct task_server *task)
req = samba_runcmd_send(task, task->event_ctx, timeval_zero(), 1, 0,
smbd_cmd,
"--configfile", fileserver_conf,
- "--foreground", NULL);
+ "--foreground",
+ debug_get_output_is_stdout()?"--log-stdout":NULL,
+ NULL);
if (req == NULL) {
DEBUG(0, ("Failed to start smbd as child daemon\n"));
goto failed;