diff --git a/tools/bazel b/tools/bazel index 1c04e123d8f..7618048807e 100755 --- a/tools/bazel +++ b/tools/bazel @@ -198,6 +198,8 @@ if [[ "$SLOW_PATH" == "1" ]] && [[ -z "${MONGO_WRAPPER_OUTPUT_ALL}" ]]; then } trap 'print_summary' EXIT +else + cleanup_logfile() { :; } fi # find existing python installs