diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-10-01 15:20:14 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-10-01 15:20:14 +0100 |
commit | 5021b2efea92c021c04812056149485ac4803e9c (patch) | |
tree | 303b21e5fb96a42fecd89376cc8987e9c1139f09 /cat | |
parent | d525103c8621f6ff0293311a8e8f9ac0c3580805 (diff) | |
download | libguestfs-5021b2efea92c021c04812056149485ac4803e9c.tar.gz libguestfs-5021b2efea92c021c04812056149485ac4803e9c.tar.xz libguestfs-5021b2efea92c021c04812056149485ac4803e9c.zip |
inspector: Don't bomb if no kernels detected.
If $os->{kernels} wasn't defined, virt-inspector would exit with
an error, leaving partial XML output.
Change the code so it doesn't die in this case, instead just
leaves out the <kernels> section.
Diffstat (limited to 'cat')
0 files changed, 0 insertions, 0 deletions