git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
leak: Free list of drives and mountpoints in guestfish.
[libguestfs.git]
/
tools
/
virt-cat
diff --git
a/tools/virt-cat
b/tools/virt-cat
index
c8cdd19
..
e000e25
100755
(executable)
--- a/
tools/virt-cat
+++ b/
tools/virt-cat
@@
-150,7
+150,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" if @roots == 0;
die __"multiboot operating systems are not supported by virt-cat" if @roots > 1;
my $root_dev = $roots[0];
die __"multiboot operating systems are not supported by virt-cat" if @roots > 1;
my $root_dev = $roots[0];