Permalink
Browse files

return first of each key, not for all keys

  • Loading branch information...
falconindy committed May 29, 2011
1 parent ccd22f9 commit 27518960a09ff8f5a183ae4b0a472ae498c364e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 expac.c
View
@@ -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;
}
}
}

0 comments on commit 2751896

Please sign in to comment.