fix init scripts so that retval isn't overridden in the status