summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 6bffc93..9609c4d 100644
--- a/src/config.c
+++ b/src/config.c
@@ -128,6 +128,8 @@ static int get_type(struct lt_config_app *cfg, struct lt_config_tv *tv,
return -1;
}
+extern int lt_config_debug;
+
/* read conf file */
static int read_config(struct lt_config_app *cfg, char *file)
{
@@ -139,6 +141,7 @@ static int read_config(struct lt_config_app *cfg, char *file)
if (lt_inc_open(cfg->sh, &inc, file))
return -1;
+ lt_config_debug = 1;
if (lt_config_parse()) {
printf("failed to parse config file %s\n", file);
ret = -1;