diff options
author | Richard Jones <rjones@redhat.com> | 2010-05-12 18:11:37 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-05-13 16:22:10 +0100 |
commit | 94e310dcfbcd368cbe02dbc1643ed2ff9821cd48 (patch) | |
tree | b358649ef1e28475f06da6788a38b24a8756ac65 /tools/virt-edit | |
parent | 287f8957fea3efe411c7ac55595d5d6c7b613e4e (diff) | |
download | libguestfs-94e310dcfbcd368cbe02dbc1643ed2ff9821cd48.tar.gz libguestfs-94e310dcfbcd368cbe02dbc1643ed2ff9821cd48.tar.xz libguestfs-94e310dcfbcd368cbe02dbc1643ed2ff9821cd48.zip |
Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).
Diffstat (limited to 'tools/virt-edit')
-rwxr-xr-x | tools/virt-edit | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/virt-edit b/tools/virt-edit index c133e6a1..e00e4cfb 100755 --- a/tools/virt-edit +++ b/tools/virt-edit @@ -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]; |