URL: https://github.com/SSSD/sssd/pull/961 Author: thalman Title: #961: INI: sssctl config-check command error messages Action: opened
PR body: """ In case of parsing error sssctl config-check command does not give proper error messages with line number. With this patch the error message is printed again. Resolves: https://pagure.io/SSSD/sssd/issue/4129 """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/961/head:pr961 git checkout pr961
From 23e697819a688081f039c734ad6e03fe61f538d9 Mon Sep 17 00:00:00 2001 From: Tomas Halman <[email protected]> Date: Tue, 10 Dec 2019 16:30:32 +0100 Subject: [PATCH] INI: sssctl config-check command error messages In case of parsing error sssctl config-check command does not give proper error messages with line number. With this patch the error message is printed again. Resolves: https://pagure.io/SSSD/sssd/issue/4129 --- src/util/sss_ini.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index e3699805de..5d91602cdf 100644 --- a/src/util/sss_ini.c +++ b/src/util/sss_ini.c @@ -865,6 +865,7 @@ int sss_ini_read_sssd_conf(struct sss_ini *self, ret = sss_ini_parse(self); if (ret != EOK) { + sss_ini_config_print_errors(self->error_list); DEBUG(SSSDBG_FATAL_FAILURE, "Failed to parse configuration.\n"); return ERR_INI_PARSE_FAILED; }
_______________________________________________ sssd-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected]
