diff options
Diffstat (limited to 'file_server')
-rw-r--r-- | file_server/file_server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/file_server/file_server.c b/file_server/file_server.c index 2c5ec43fe1..3f5ca77208 100644 --- 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; |