qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/4] get_maintainer.pl: exit with status 1 if no mai


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 1/4] get_maintainer.pl: exit with status 1 if no maintainer found
Date: Wed, 22 Oct 2014 11:08:19 +0200

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

Signed-off-by: Paolo Bonzini <address@hidden>
---
 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

[Prev in Thread] Current Thread [Next in Thread]