diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-20 22:47:34 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-07-20 22:47:34 +0000 |
commit | 160dbe080c50e88ed113d0b194151068706b57f4 (patch) | |
tree | a46209e71859c40e924a089b895c1b8515ea293c /src | |
parent | 0623d6bee08b181c11700bb0313ef9af478e10d1 (diff) | |
download | mpd-160dbe080c50e88ed113d0b194151068706b57f4.tar.gz mpd-160dbe080c50e88ed113d0b194151068706b57f4.tar.xz mpd-160dbe080c50e88ed113d0b194151068706b57f4.zip |
Rolling back change to when we redirect to logs. Turns out it silenced fatal audio_output errors.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4415 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c index 1250f6757..95e32c2d5 100644 --- a/src/main.c +++ b/src/main.c @@ -543,22 +543,18 @@ int main(int argc, char *argv[]) changeToUser(); openLogFiles(&options, &out, &err); - /* Redirect only stdout, so fatal errors are spit out to console */ - setupLogOutput(&options, out, stderr); initPlayerData(); daemonize(&options); - /* Now that we're daemonized, redirect errors to the error log */ - setupLogOutput(&options, out, err); - initInputPlugins(); initPaths(); initAudioConfig(); initAudioDriver(); initSigHandlers(); + setupLogOutput(&options, out, err); startMainProcess(); /* This is the main process which has * been forked from the master process. |