Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).
[libguestfs.git] / tools / virt-tar
index 839ff8e..07c65f4 100755 (executable)
@@ -227,7 +227,6 @@ my %fses =
 my $oses = inspect_operating_systems ($g, \%fses);
 
 my @roots = keys %$oses;
-die __"no root device found in this operating system image\n" if @roots == 0;
 die __"multiboot operating systems are not supported by virt-tar\n" if @roots > 1;
 my $root_dev = $roots[0];