From d5d732daa06a44b1b911b64ef05315f8100c761d Mon Sep 17 00:00:00 2001 From: epwalsh Date: Wed, 8 Jan 2025 16:40:53 -0800 Subject: [PATCH] avoid some unnecessary output --- gantry/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gantry/entrypoint.sh b/gantry/entrypoint.sh index f945dae..5acaab9 100644 --- a/gantry/entrypoint.sh +++ b/gantry/entrypoint.sh @@ -103,7 +103,7 @@ if [[ -z "$NO_PYTHON" ]]; then ensure_conda - if conda activate "$VENV_NAME"; then + if conda activate "$VENV_NAME" &> /dev/null; then echo "[GANTRY] Using existing conda environment '$VENV_NAME'" # The virtual environment already exists. Possibly update it based on an environment file. if [[ -f "$CONDA_ENV_FILE" ]]; then