]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - novaboot
Change target connection warning to error
[novaboot.git] / novaboot
index c2e391ea61c8a5be0cc7c59566df8e7c563a192c..0dd1bebad12fc2d9b1101a3a6ca74b071211a9cf 100755 (executable)
--- a/novaboot
+++ b/novaboot
@@ -263,7 +263,7 @@ if ($ider) {
                      '--amt'        => \$amt);
     my @opts = grep(defined(${$input_opts{$_}}) , keys %input_opts);
 
-    print STDERR "novaboot: Warning: More than one target connection option: ".join(', ', @opts) if scalar @opts > 1;
+    die("novaboot: More than one target connection option: ".join(', ', @opts)) if scalar @opts > 1;
 }
 
 # Default options