summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 28c916ed..d9463a87 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -790,6 +790,7 @@ int pacman_sync(list_t *targets)
cleanup:
if(alpm_trans_release() == -1) {
ERR(NL, "failed to release transaction (%s)\n", alpm_strerror(pm_errno));
+ retval = 1;
}
return(retval);