fix process running check to use proper return code check
Merge pull request #5136 from bparees/process_running_check_stage

Merged by openshift-bot