From eb206c71778ad1f4171c09e328ef962a0ac8c873 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sat, 13 Jul 2024 12:17:29 -0400 Subject: Change return value of conda_setup_headless() from void to int * Replace exit() with return; --- include/conda.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/conda.h b/include/conda.h index cea3f02..d439371 100644 --- a/include/conda.h +++ b/include/conda.h @@ -89,7 +89,7 @@ int conda_activate(const char *root, const char *env_name); /** * Configure the active conda installation for headless operation */ -void conda_setup_headless(); +int conda_setup_headless(); /** * Creates a Conda environment from a YAML config -- cgit