結果 : check previous command exit code