mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
inspector: Improve error message when YAML::Any library is not installed.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user