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

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



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


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