結果 : shell script check last command status