Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -436,12 +436,14 @@ sub push_email_address {
	$email_address = $2;
    }

    if ($email_maintainer) {
	if ($email_usename && $email_name) {
	    push(@email_to, format_email($email_name, $email_address));
	} else {
	    push(@email_to, $email_address);
	}
    }
}

sub push_email_addresses {
    my ($address) = @_;