aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);