Skip to content

Commit

Permalink
scripts/get_maintainer.pl: don't print maintainers when not requested
Browse files Browse the repository at this point in the history
Fixed bug introduced after using rfc822 address checking.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoePerches authored and torvalds committed Jun 17, 2009
1 parent 5f2441e commit 0a79c49
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/get_maintainer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit 0a79c49

Please sign in to comment.