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.2.10~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ac42042573cc3ee8818926dcbfaa2dc9ff2cb585;p=libguestfs.git inspector: Improve error message when YAML::Any library is not installed. (cherry picked from commit 015b7a2ee6b4ba0f1400640fa16e2526a69d081e) --- diff --git a/inspector/virt-inspector b/inspector/virt-inspector index 4428ecd..33a9b3c 100755 --- a/inspector/virt-inspector +++ b/inspector/virt-inspector @@ -316,7 +316,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);