結果 : bash check exit code of previous command