Correct exit code for console app

fix for: https://github.com/prolic/HumusSupervisorModule/issues/6