From cb9fba1ed387a1a34f866c13a979ee91cd1d6da8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 4 Nov 2010 10:25:30 +1100 Subject: debug: fixed default debug settings this fixes -d in our command line tools (eg. samba-tool) Pair-Programmed-With: Andrew Bartlett Autobuild-User: Andrew Tridgell Autobuild-Date: Thu Nov 4 01:48:15 UTC 2010 on sn-devel-104 --- lib/util/debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/util/debug.c') diff --git a/lib/util/debug.c b/lib/util/debug.c index 54e7a5fcf6..789abe19c2 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -141,10 +141,12 @@ _PUBLIC_ void reopen_logs(void) switch (state.logtype) { case DEBUG_STDOUT: + case DEBUG_DEFAULT_STDOUT: state.fd = 1; break; case DEBUG_STDERR: + case DEBUG_DEFAULT_STDERR: state.fd = 2; break; -- cgit