From 6b57784f0f175275fd900eca21c77415e3a5ea52 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 9 Jul 2014 11:24:21 +0200 Subject: TOOLS: Always debug to stderr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://fedorahosted.org/sssd/ticket/2348 Programs that are supposed to only be executed on the foreground should log to stderr automatically. Reviewed-by: Michal Židek --- src/tools/sss_debuglevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/sss_debuglevel.c') diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c index c38591cf..dcacd5dc 100644 --- a/src/tools/sss_debuglevel.c +++ b/src/tools/sss_debuglevel.c @@ -88,7 +88,7 @@ int main(int argc, const char **argv) goto fini; } } - DEBUG_INIT(pc_debug); + DEBUG_CLI_INIT(pc_debug); /* get debug level */ debug_as_string = poptGetArg(pc); -- cgit