summaryrefslogtreecommitdiff
path: root/src/LogInit.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-12-09 20:18:54 +0100
committerMax Kellermann <max@musicpd.org>2016-12-09 20:18:54 +0100
commitae7e25ea657de864fd5e1ab7b420343c2e9a1db1 (patch)
tree18d638fa3e0b886eb7464ea0f7eea9c9752a3b2e /src/LogInit.cxx
parent5013de6770e19173e17b6fa72b11b34df0fa85a6 (diff)
parentfef45d469c104934635ee7791ce7dced454e8f52 (diff)
Merge tag 'v0.19.20'
release v0.19.20
Diffstat (limited to 'src/LogInit.cxx')
-rw-r--r--src/LogInit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx
index 705bae8f3..12d9ea9a9 100644
--- a/src/LogInit.cxx
+++ b/src/LogInit.cxx
@@ -45,7 +45,7 @@ static constexpr Domain log_domain("log");
#ifndef ANDROID
-static int out_fd;
+static int out_fd = -1;
static AllocatedPath out_path = AllocatedPath::Null();
static void redirect_logs(int fd)