結果 : bash set variable to exit code of command