summaryrefslogtreecommitdiffstats
path: root/tools/virt-edit
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-12 18:11:37 +0100
committerRichard Jones <rjones@redhat.com>2010-05-13 16:22:10 +0100
commit94e310dcfbcd368cbe02dbc1643ed2ff9821cd48 (patch)
treeb358649ef1e28475f06da6788a38b24a8756ac65 /tools/virt-edit
parent287f8957fea3efe411c7ac55595d5d6c7b613e4e (diff)
downloadlibguestfs-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-xtools/virt-edit1
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];