mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3fs: when samba is logging to stdout, ask smbd to also do so
this prevents make test getting spurious errors about opening log files in the install prefix
This commit is contained in:
parent
1da318d97d
commit
e2e2e60b61
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user