Commit 3b79ad98 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Bug fix, do not throw an error if no XEN support installed.

parent dc75bd50
......@@ -20,8 +20,8 @@ sub DoUpdate($$$)
my $osinfo = OSinfo->LookupByName("XEN-STD");
if (!defined($osinfo)) {
print STDERR "Could not lookup XEN-STD\n";
return -1;
# XEN stuff not installed.
return 0;
}
my $nextosinfo = OSinfo->LookupByName($XENIMAGE_STD);
if (!defined($nextosinfo)) {
......
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