結果 : how to check exit code of last command