結果 : bash check exit status of previous command