HomeClusterLabs Projects

Medium: mysql: test properly for failed process start (bnc#823095)

Description

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
		...

PS: add vi formatting note at the end (expand tabs, tab=4sp)

Details

Provenance
Dejan Muhamedagic <dejan@suse.de>Authored on Jun 11 2013, 6:13 AM
Parents
rR6b83af0ab4cc: Merge pull request #250 from davidvossel/tmp_vars
Branches
Unknown
Tags
Unknown

Event Timeline