From: Ian Jackson Date: Mon, 18 May 2015 12:46:07 +0000 (+0100) Subject: ts-host-install: die on unknown options X-Git-Tag: wip.libvirt-v3-base~167 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7d4fe994d8fd53bb79fcbe4e3efce6fbe639c654;p=people%2Fliuw%2Fosstest.git ts-host-install: die on unknown options Signed-off-by: Ian Jackson --- diff --git a/ts-host-install b/ts-host-install index 69de4b6..b73c7ff 100755 --- a/ts-host-install +++ b/ts-host-install @@ -40,6 +40,8 @@ while (@ARGV and $ARGV[0] =~ m/^-/) { $poweron_test_only= 1; } elsif (m/^--rescue$/) { $xopts{RescueMode}= 1; + } else { + die "$_ $!"; } }