結果 : bash get exit code of previous command