diff options
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r-- | util-linux/mdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index c6be1b872..e5f0c2deb 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -206,7 +206,8 @@ static void parse_next_rule(void) | |||
206 | char *tokens[4]; | 206 | char *tokens[4]; |
207 | char *val; | 207 | char *val; |
208 | 208 | ||
209 | if (!config_read(G.parser, tokens, 4, 3, "# \t", PARSE_NORMAL)) | 209 | /* No PARSE_EOL_COMMENTS, because command may contain '#' chars */ |
210 | if (!config_read(G.parser, tokens, 4, 3, "# \t", PARSE_NORMAL & ~PARSE_EOL_COMMENTS)) | ||
210 | break; | 211 | break; |
211 | 212 | ||
212 | /* Fields: [-]regex uid:gid mode [alias] [cmd] */ | 213 | /* Fields: [-]regex uid:gid mode [alias] [cmd] */ |