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_groupadd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/sss_groupadd.c') diff --git a/src/tools/sss_groupadd.c b/src/tools/sss_groupadd.c index 0152aeff0..f71d6dde7 100644 --- a/src/tools/sss_groupadd.c +++ b/src/tools/sss_groupadd.c @@ -68,7 +68,7 @@ int main(int argc, const char **argv) BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini); } - DEBUG_INIT(pc_debug); + DEBUG_CLI_INIT(pc_debug); /* groupname is an argument, not option */ pc_groupname = poptGetArg(pc); -- cgit