aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-06-16 11:39:20 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-06-22 11:57:05 -0400
commitf9c7645c6491a8f38b957d52df934911e0a51472 (patch)
treef734848adf1f1e3cd14d479b2efbeffb03ae897d
parent9863a96a91b853d70cc1972db1c36df65c6cfecf (diff)
downloadstasis-f9c7645c6491a8f38b957d52df934911e0a51472.tar.gz
Ignore stderr from installation dry-run
-rw-r--r--src/lib/core/conda.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/core/conda.c b/src/lib/core/conda.c
index 8d2753d..1c6bd99 100644
--- a/src/lib/core/conda.c
+++ b/src/lib/core/conda.c
@@ -852,6 +852,7 @@ int conda_capable(struct CondaCapabilities *ccap, const char *root) {
struct Process proc = {0};
safe_strncpy(proc.f_stderr, "/dev/null", sizeof(proc.f_stderr));
+ safe_strncpy(proc.f_stdout, "/dev/null", sizeof(proc.f_stdout));
if (shell(&proc, "mamba install --use-local --dry-run conda")) {
cc->missing_use_local = true;
}