summaryrefslogtreecommitdiffstats
path: root/inspector
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-07-02 10:50:38 +0100
committerRichard Jones <rjones@redhat.com>2010-07-02 10:50:38 +0100
commit015b7a2ee6b4ba0f1400640fa16e2526a69d081e (patch)
treed0026ac73f8d5f45ac86e217407cf7d8b09b22dc /inspector
parent9928498ad87ed1d7a1c191d5637d36d5f9b09ee4 (diff)
downloadlibguestfs-015b7a2ee6b4ba0f1400640fa16e2526a69d081e.tar.gz
libguestfs-015b7a2ee6b4ba0f1400640fa16e2526a69d081e.tar.xz
libguestfs-015b7a2ee6b4ba0f1400640fa16e2526a69d081e.zip
inspector: Improve error message when YAML::Any library is not installed.
Diffstat (limited to 'inspector')
-rwxr-xr-xinspector/virt-inspector2
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector/virt-inspector b/inspector/virt-inspector
index f62d21fc..dc15f0db 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);