Commit 0a79c492 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

scripts/get_maintainer.pl: don't print maintainers when not requested

Fixed bug introduced after using rfc822 address checking.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5f2441e9
...@@ -436,10 +436,12 @@ sub push_email_address { ...@@ -436,10 +436,12 @@ sub push_email_address {
$email_address = $2; $email_address = $2;
} }
if ($email_usename && $email_name) { if ($email_maintainer) {
push(@email_to, format_email($email_name, $email_address)); if ($email_usename && $email_name) {
} else { push(@email_to, format_email($email_name, $email_address));
push(@email_to, $email_address); } else {
push(@email_to, $email_address);
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment