ClusterLabs/resource-agents — pull request #254 by dmuhamedagic (2013-06-05 14:37:36+00:00)
Title: Medium: mysql: test properly for failed process start (bnc#823095)

The following doesn't work:

blah & echo $?

This patch changes that to:

blah &
pid=$!
loop
if $pid does not exist
wait $pid to get the exit code and log error
monitor
...