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; } }