結果 : bash script check if previous command successful