summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c
index c049bf90..602dd371 100644
--- a/lib/libalpm/log.c
+++ b/lib/libalpm/log.c
@@ -68,7 +68,7 @@ int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *prefix,
} else {
handle->pm_errno = ALPM_ERR_SYSTEM;
}
- return -1;
+ ret = -1;
}
}