From 27518960a09ff8f5a183ae4b0a472ae498c364e4 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 29 May 2011 12:39:43 -0400 Subject: return first of each key, not for all keys --- expac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } } -- cgit v1.2.3-70-g09d2