Commit e9e905f6 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 83db3a15
......@@ -490,7 +490,8 @@ sub DoIloKey($)
Fatal($@)
if ($@);
if (!exists($xmlparse->{'KEY'}) || $xmlparse->{'KEY'} eq "") {
if (!exists($xmlparse->{'KEY'}) || !defined($xmlparse->{'KEY'}) ||
$xmlparse->{'KEY'} eq "") {
Fatal("No KEY in:\n$ilostuff")
}
my $ilokey = $xmlparse->{'KEY'};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment