Fix exit status code