init script: make status call return proper return code