Skip to contentSkip to conversation

ts-host-install: die on unknown options

PATCH New Ian Jackson 1 participant 1 message May 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-host-install: die on unknown options

---
 ts-host-install |    2 ++
 1 file changed, 2 insertions(+)
ts-host-install +2 -0
index b13f293..9d6a73c 100755
@@ -37,6 +37,8 @@ while (@ARGV and $ARGV[0] =~ m/^-/) {
     $xopts{DebconfPriority}= defined($1) ? $1 : 'low';
     } elsif  (m/^--rescue$/) {
 	$xopts{RescueMode}= 1;
+    } else {
+	die "$_ $!";
     }
 }
 
Signature · 1 line
1.7.10.4