結果 : bash check if previous command failed