aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index 995cbf892..6fbc47340 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -373,6 +373,8 @@ int getBoolConfigParam(char *name)
if (strcmp("yes", param->value) == 0) return 1;
else if (strcmp("no", param->value) == 0) return 0;
+ ERROR("%s is not \"yes\" or \"no\" on line %i\n", name, param->line);
+
return -2;
}