Commit 0a79c492bcb1022e9a2d0bcb5ed6c624ef6641a0
Committed by
Linus Torvalds
1 parent
5f2441e976
Exists in
master
and in
4 other branches
scripts/get_maintainer.pl: don't print maintainers when not requested
Fixed bug introduced after using rfc822 address checking. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 6 additions and 4 deletions Side-by-side Diff
scripts/get_maintainer.pl
... | ... | @@ -436,10 +436,12 @@ |
436 | 436 | $email_address = $2; |
437 | 437 | } |
438 | 438 | |
439 | - if ($email_usename && $email_name) { | |
440 | - push(@email_to, format_email($email_name, $email_address)); | |
441 | - } else { | |
442 | - push(@email_to, $email_address); | |
439 | + if ($email_maintainer) { | |
440 | + if ($email_usename && $email_name) { | |
441 | + push(@email_to, format_email($email_name, $email_address)); | |
442 | + } else { | |
443 | + push(@email_to, $email_address); | |
444 | + } | |
443 | 445 | } |
444 | 446 | } |
445 | 447 |