結果 : bash capture exit code in variable