From ac42042573cc3ee8818926dcbfaa2dc9ff2cb585 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. (cherry picked from commit 015b7a2ee6b4ba0f1400640fa16e2526a69d081e) --- inspector/virt-inspector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1