diff options
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index a4033a40b..9d9da422c 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -404,7 +404,7 @@ static int grep_file(FILE *file) | |||
404 | #endif | 404 | #endif |
405 | ) { | 405 | ) { |
406 | if (option_mask32 & OPT_x) { | 406 | if (option_mask32 & OPT_x) { |
407 | found = (gl->matched_range.rm_so == 0 | 407 | found |= (gl->matched_range.rm_so == 0 |
408 | && match_at[gl->matched_range.rm_eo] == '\0'); | 408 | && match_at[gl->matched_range.rm_eo] == '\0'); |
409 | } else | 409 | } else |
410 | if (!(option_mask32 & OPT_w)) { | 410 | if (!(option_mask32 & OPT_w)) { |