Fix exit status display in prompt