summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--expac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expac.c b/expac.c
index 4f075e8..d487261 100644
--- a/expac.c
+++ b/expac.c
@@ -543,7 +543,7 @@ static alpm_list_t *resolve_pkg(alpm_list_t *targets) {
ret = alpm_list_add(ret, pkg);
if (readone) {
- return ret;
+ break;
}
}
}