From 90e25ccfde6a1f6053587d108d601ab51c8d9766 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 11 May 2026 23:26:47 -0400 Subject: The time has come * Dump the pip log on error --- src/lib/core/conda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/conda.c b/src/lib/core/conda.c index 0be817a..6083023 100644 --- a/src/lib/core/conda.c +++ b/src/lib/core/conda.c @@ -214,7 +214,7 @@ int pkg_index_provides(int mode, const char *index, const char *spec, const char status = shell(&proc, cmd); SYSDEBUG("Log file: %s", logfile); - if (status < 0) { + if (status != 0) { FILE *fp = fdopen(logfd, "r"); if (!fp) { remove(logfile); -- cgit