]> xenbits.xensource.com Git - libvirt.git/commit
libvirt-guests: Check if URI is reachable before launching commands
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Feb 2012 13:39:17 +0000 (14:39 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 29 Feb 2012 11:51:26 +0000 (12:51 +0100)
commit0531377076c13b57f583102937092d7d12b15422
tree494b21e28562ba927b68dec44c537197d516d6c6
parentbc72d9a3a921619e13430d9760b2367d78a2fdff
libvirt-guests: Check if URI is reachable before launching commands

This patch adds a check to the libvirt-guests script to check for the
URI to be alive before attempting any calls. This avoids nasty error
messages and allows us to fail gracefully and continue on other URIs
configured in the script.
tools/libvirt-guests.init.sh