結果 : bash script get exit code of previous command