This can be useful, at the very least, for debugging.

Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
---
 scripts/get_maintainer.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 38334de..a3a16d8 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -55,7 +55,7 @@ my $help = 0;
 
 my $vcs_used = 0;
 
-my $exit = 0;
+my $exit = 1;
 
 my %commit_author_hash;
 my %commit_signer_hash;
@@ -2061,6 +2061,7 @@ sub output {
        print(join($output_separator, @parms));
        print("\n");
     }
+    $exit = 0 if @parms > 0;
 }
 
 my $rfc822re;
-- 
1.8.3.1



Reply via email to