diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/sysctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c index 3fe6f6f3e..79f0074c9 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c | |||
@@ -95,10 +95,7 @@ static int sysctl_preload_file_and_exit(const char *filename) | |||
95 | parser_t *parser; | 95 | parser_t *parser; |
96 | 96 | ||
97 | parser = config_open(filename); | 97 | parser = config_open(filename); |
98 | if (!parser) | 98 | while (config_read(parser, token, 2, 2, "# \t=", PARSE_NORMAL)) { // TODO: ';' is comment char too |
99 | return 1; | ||
100 | |||
101 | while (config_read(parser, token, 2, 2, "# \t=", PARSE_LAST_IS_GREEDY)) { // TODO: ';' is comment char too | ||
102 | // if (!token[1]) { | 99 | // if (!token[1]) { |
103 | // bb_error_msg(WARN_BAD_LINE, filename, parser->lineno); | 100 | // bb_error_msg(WARN_BAD_LINE, filename, parser->lineno); |
104 | // } else { | 101 | // } else { |