git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generator: Add 'Key' parameter type.
[libguestfs.git]
/
tools
/
virt-ls
diff --git
a/tools/virt-ls
b/tools/virt-ls
index
8add52e
..
8813d2f
100755
(executable)
--- a/
tools/virt-ls
+++ b/
tools/virt-ls
@@
-183,7
+183,6
@@
my %fses =
my $oses = inspect_operating_systems ($g, \%fses);
my @roots = keys %$oses;
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-ls\n" if @roots > 1;
my $root_dev = $roots[0];
die __"multiboot operating systems are not supported by virt-ls\n" if @roots > 1;
my $root_dev = $roots[0];