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