From 895b0951b08ee1c1ff1cfa524c087432697ed758 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Fri, 13 May 2011 09:28:25 -0400 Subject: Fixed --debug-to-files for nss and pam services This error caused that monitor didn't pass --debug-to-files option to nss and pam services when creating them. --- src/monitor/monitor.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/monitor') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index baa9994e..59ffeb3b 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -949,10 +949,10 @@ static int get_service_config(struct mt_ctx *ctx, const char *name, svc->command = talloc_asprintf(svc, "%s/sssd_%s %s%s", SSSD_LIBEXEC_PATH, svc->name, - (debug_timestamps? - "": " --debug-timestamps=0"), - (debug_to_file ? - " --debug-to-files":"")); + debug_timestamps? + "": "--debug-timestamps=0 ", + debug_to_file? + "--debug-to-files":""); } else { /* If the debug level was specified at the command-line, * make sure to pass it into the children, overriding the -- cgit