aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 1e2cd55..9faa341 100644
--- a/config.c
+++ b/config.c
@@ -61,7 +61,7 @@ config_load(const char *conf_path)
fprintf(stderr, "[config] invalid interval: %s\n", line);
return -1;
}
- } else if (strcmp(line, "interval") == 0) {
+ } else if (strcmp(line, "template") == 0) {
tmpl_path = strdup(value);
printf("\ttemplate: %s\n", tmpl_path);
} else if (strcmp(line, "log") == 0) {