corrected init script to return status correctly when running as mule user