summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index ffe92518..36136949 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -763,7 +763,7 @@ int _alpm_remove_packages(alpm_handle_t *handle, int run_ldconfig)
if(_alpm_remove_single_package(handle, pkg, NULL,
targ_count, pkg_count) == -1) {
- handle->pm_errno = ALPM_ERR_TRANS_ABORT;
+ _alpm_set_errno(handle, ALPM_ERR_TRANS_ABORT);
/* running ldconfig at this point could possibly screw system */
run_ldconfig = 0;
ret = -1;