Fix exit status