結果 : bash get exit code into variable