diff options
Diffstat (limited to 'miscutils/man.c')
-rw-r--r-- | miscutils/man.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index 7ef5941a1..df00c3ee7 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
@@ -106,9 +106,7 @@ int man_main(int argc UNUSED_PARAM, char **argv) | |||
106 | if (parser) { | 106 | if (parser) { |
107 | /* go through man configuration file and search relevant paths, sections */ | 107 | /* go through man configuration file and search relevant paths, sections */ |
108 | char *token[2]; | 108 | char *token[2]; |
109 | while (config_read(parser, token, 2, 0, "# \t", PARSE_LAST_IS_GREEDY)) { | 109 | while (config_read(parser, token, 2, 2, "# \t", PARSE_LAST_IS_GREEDY)) { |
110 | if (!token[1]) | ||
111 | continue; | ||
112 | if (strcmp("MANPATH", token[0]) == 0) { | 110 | if (strcmp("MANPATH", token[0]) == 0) { |
113 | man_path_list[count_mp] = xstrdup(token[1]); | 111 | man_path_list[count_mp] = xstrdup(token[1]); |
114 | count_mp++; | 112 | count_mp++; |