diff options
-rw-r--r-- | src/dircolors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dircolors.c b/src/dircolors.c index b157b3364..927a95f41 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -348,7 +348,7 @@ dc_parse_stream (FILE *fp, const char *filename) } } - if (unrecognized) + if (unrecognized && (state == ST_TERMSURE || state == ST_TERMYES)) { error (0, 0, _("%s:%lu: unrecognized keyword `%s'"), filename, (long unsigned) line_number, keywd); |