daemon: Move 'exists', 'is-file' and 'is-dir' to separate file.
[libguestfs.git] / tools / virt-win-reg
index 91a1673..c777a0a 100755 (executable)
@@ -280,7 +280,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-win-reg" if @roots > 1;
 my $root_dev = $roots[0];