summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-13 09:28:25 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-16 08:05:33 -0400
commit895b0951b08ee1c1ff1cfa524c087432697ed758 (patch)
treedc867786da714715b08d189038d352db49c218a6 /src
parent4ebd399129fa64cd3d789bf98b8587c2351d4d3e (diff)
downloadsssd-895b0951b08ee1c1ff1cfa524c087432697ed758.tar.gz
sssd-895b0951b08ee1c1ff1cfa524c087432697ed758.tar.bz2
sssd-895b0951b08ee1c1ff1cfa524c087432697ed758.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/monitor/monitor.c8
1 files changed, 4 insertions, 4 deletions
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