Print exit status in failure case in exit_if_fail