[libvirt] virsh ttyconsole [node] has rc of 1?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a script that's breaking when trying to get the ttyconsole for a
node. The script gets the console by invoking:

virsh ttyconsole [nodename]

The script also has trap on error enabled, and the above command has a
return code of 1. This is causing the script to exit at that point.

Is this a bug? Or is there a reason that return code is 1 and not 0?
-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
Is fearr Gaeilge bhriste ná Béarla cliste.

Attachment: pgppuyqLGvaMk.pgp
Description: PGP signature

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]