summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/sss_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c
index b4dbb0772..4438f8c89 100644
--- a/src/util/sss_ini.c
+++ b/src/util/sss_ini.c
@@ -211,7 +211,7 @@ int sss_ini_get_config(struct sss_ini_initdata *init_data,
int ret;
#ifdef HAVE_LIBINI_CONFIG_V1
#ifdef HAVE_LIBINI_CONFIG_V1_3
- const char *patterns[] = { "^[^\\.].*\\.conf", NULL };
+ const char *patterns[] = { "^[^\\.].*\\.conf$", NULL };
const char *sections[] = { ".*", NULL };
uint32_t i = 0;
char *msg = NULL;