aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_maintainer.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index a1a43cffbc96..e57c3f6eede7 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -436,10 +436,12 @@ sub push_email_address {
436 $email_address = $2; 436 $email_address = $2;
437 } 437 }
438 438
439 if ($email_usename && $email_name) { 439 if ($email_maintainer) {
440 push(@email_to, format_email($email_name, $email_address)); 440 if ($email_usename && $email_name) {
441 } else { 441 push(@email_to, format_email($email_name, $email_address));
442 push(@email_to, $email_address); 442 } else {
443 push(@email_to, $email_address);
444 }
443 } 445 }
444} 446}
445 447