HomeClusterLabs Projects

Medium: Xen: Use xl list $domain return code in status check (boo#901453)

Description

Medium: Xen: Use xl list $domain return code in status check (boo#901453)

Under xl, state and status are not returned with a --long listing. Instead,
the return code from xl list $domain must be used to determine if a domain
is running on the node or not.

As xen-list and xenstore-ls both rely on xenstore, the additiona xenstore-ls
check can safely be removed.

For POSIX compliance, the bash-specific [[ was replaced with expr.

Details

Provenance
Kristoffer Grönlund <krig@koru.se>Authored on Nov 14 2014, 11:26 AM
Parents
rR910ea51bba6a: Merge pull request #492 from knakahira/fix-pgsql
Branches
Unknown
Tags
Unknown

Event Timeline