結果 : bash catch exit code of command