summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-05-29 12:39:43 -0400
committerDave Reisner <d@falconindy.com>2011-05-29 12:39:43 -0400
commit27518960a09ff8f5a183ae4b0a472ae498c364e4 (patch)
tree64a176778778c3b950efb04b0bec001711db88d6
parentccd22f9607f3b719d1c890e14faf778f900014a5 (diff)
downloadexpac-27518960a09ff8f5a183ae4b0a472ae498c364e4.tar.xz
return first of each key, not for all keys
-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;
}
}
}