結果 : check last command return code