From: Ian Jackson Subject: [OSSTEST PATCH] ts-host-install: die on unknown options Date: Mon, 18 May 2015 13:46:17 +0100 Message-ID: <1431953177-5904-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YuKRC-0003O5-6C for xen-devel@lists.xenproject.org; Mon, 18 May 2015 12:46:30 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Ian Jackson --- ts-host-install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts-host-install b/ts-host-install index b13f293..9d6a73c 100755 --- a/ts-host-install +++ b/ts-host-install @@ -37,6 +37,8 @@ while (@ARGV and $ARGV[0] =~ m/^-/) { $xopts{DebconfPriority}= defined($1) ? $1 : 'low'; } elsif (m/^--rescue$/) { $xopts{RescueMode}= 1; + } else { + die "$_ $!"; } } -- 1.7.10.4