From db5c0122853a9ecf1cc92e6593461932df2fa866 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 24 Apr 2013 19:53:16 -0300 Subject: conf-parser: restrict .include usage Disallow recursive .include, and make it unavailable in anything but unit files. --- src/bootchart/bootchart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootchart/bootchart.c') diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index 002f3df8b6..b73319123f 100644 --- a/src/bootchart/bootchart.c +++ b/src/bootchart/bootchart.c @@ -124,7 +124,7 @@ static void parse_conf(void) { return; r = config_parse(NULL, BOOTCHART_CONF, f, - NULL, config_item_table_lookup, (void*) items, true, NULL); + NULL, config_item_table_lookup, (void*) items, true, false, NULL); if (r < 0) log_warning("Failed to parse configuration file: %s", strerror(-r)); -- cgit v1.2.3-54-g00ecf