]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
ts-hosts-allocate-Executive: crash if no hostflags specified
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 28 Nov 2013 16:06:21 +0000 (16:06 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 28 Nov 2013 16:06:36 +0000 (16:06 +0000)
Rather than picking a machine at random.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
ts-hosts-allocate-Executive

index 75834eb00efbeae9010e6d8bc8e12821cc0283ac..05046e32b9282003c448884e800f6423b4d58e45 100755 (executable)
@@ -204,6 +204,7 @@ sub compute_hids () {
             print DEBUG "HID $ident OVERRIDE $hid->{OverrideUse}\n";
         }
         my @flags= get_hostflags($ident);
+       die "no hostflags?!" unless @flags;
         print DEBUG "HID $ident FLAGS @flags\n";
         $hid->{Ident}= $ident;
         my %flags;