From 015b7a2ee6b4ba0f1400640fa16e2526a69d081e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 2 Jul 2010 10:50:38 +0100 Subject: [PATCH] inspector: Improve error message when YAML::Any library is not installed. --- inspector/virt-inspector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1