From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgruJ-0000JP-UC for qemu-devel@nongnu.org; Wed, 22 Oct 2014 05:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgruA-0006Ak-AL for qemu-devel@nongnu.org; Wed, 22 Oct 2014 05:08:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgruA-0006Ae-03 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 05:08:30 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9M98TiY022962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 22 Oct 2014 05:08:29 -0400 From: Paolo Bonzini Date: Wed, 22 Oct 2014 11:08:19 +0200 Message-Id: <1413968902-24094-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1413968902-24094-1-git-send-email-pbonzini@redhat.com> References: <1413968902-24094-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 1/4] get_maintainer.pl: exit with status 1 if no maintainer found List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, mst@redhat.com This can be useful, at the very least, for debugging. Signed-off-by: Paolo Bonzini --- 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