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: pgpWVed6AhteP.pgp
Description: PGP signature

--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to