aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-05-11 23:26:47 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-05-11 23:26:47 -0400
commit90e25ccfde6a1f6053587d108d601ab51c8d9766 (patch)
tree9a909e9973c94cf7e067337923810a41ad18fd40 /src
parentcf7f1916db60a13ed9257ba803bb9d4e1cd29676 (diff)
downloadstasis-90e25ccfde6a1f6053587d108d601ab51c8d9766.tar.gz
The time has come
* Dump the pip log on error
Diffstat (limited to 'src')
-rw-r--r--src/lib/core/conda.c2
1 files changed, 1 insertions, 1 deletions
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);