Fix init script status exit code. based on https://github.com/sonatype/nexus-oss/commit/078f104db67db79a2c77da888aedb367e3bab011