diff options
-rw-r--r-- | src/solver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/solver.c b/src/solver.c index a3530d0..8832c23 100644 --- a/src/solver.c +++ b/src/solver.c @@ -1287,8 +1287,7 @@ int apk_solver_commit(struct apk_database *db, if (r == 0 || (apk_flags & APK_FORCE)) { /* Success -- or forced installation of bad graph */ - apk_solver_commit_changeset(db, &changeset, world); - r = 0; + r = apk_solver_commit_changeset(db, &changeset, world); } else { /* Failure -- print errors */ apk_solver_print_errors(db, solution, world, r); |