提交 0a79c492 编写于 作者: J Joe Perches 提交者: Linus Torvalds

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

Fixed bug introduced after using rfc822 address checking.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 5f2441e9
......@@ -436,10 +436,12 @@ sub push_email_address {
$email_address = $2;
}
if ($email_usename && $email_name) {
push(@email_to, format_email($email_name, $email_address));
} else {
push(@email_to, $email_address);
if ($email_maintainer) {
if ($email_usename && $email_name) {
push(@email_to, format_email($email_name, $email_address));
} else {
push(@email_to, $email_address);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册