scripts/get_maintainer.pl: don't print maintainers when not requested
Fixed bug introduced after using rfc822 address checking. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									5f2441e976
								
							
						
					
					
						commit
						0a79c492bc
					
				| @ -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); | ||||
| 	} | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user