From: Richard Jones Date: Fri, 2 Jul 2010 09:50:38 +0000 (+0100) Subject: inspector: Improve error message when YAML::Any library is not installed. X-Git-Tag: 1.4.0~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=015b7a2ee6b4ba0f1400640fa16e2526a69d081e;p=libguestfs.git inspector: Improve error message when YAML::Any library is not installed. --- diff --git a/inspector/virt-inspector b/inspector/virt-inspector index f62d21f..dc15f0d 100755 --- a/inspector/virt-inspector +++ b/inspector/virt-inspector @@ -321,7 +321,7 @@ elsif ($output eq "perl") { # YAML output elsif ($output eq "yaml") { - die __"virt-inspector: no YAML support\n" + die __"virt-inspector: no YAML support, try installing perl-YAML or libyaml-perl\n" unless exists $INC{"YAML/Any.pm"}; print Dump(%$oses);