inspector: Improve error message when YAML::Any library is not installed.
authorRichard Jones <rjones@redhat.com>
Fri, 2 Jul 2010 09:50:38 +0000 (10:50 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 12 Jul 2010 07:39:46 +0000 (08:39 +0100)
(cherry picked from commit 015b7a2ee6b4ba0f1400640fa16e2526a69d081e)

inspector/virt-inspector

index 4428ecd..33a9b3c 100755 (executable)
@@ -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);