inspector: Improve error message when YAML::Any library is not installed.

This commit is contained in:
Richard Jones
2010-07-02 10:50:38 +01:00
parent 9928498ad8
commit 015b7a2ee6

View File

@@ -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);