結果 : shell script check if last command was successful