mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
check_keyring: skip keys known to be missing
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
This commit is contained in:
parent
e123e04741
commit
aec4241af2
@ -1074,10 +1074,9 @@ static int check_keyring(alpm_handle_t *handle)
|
|||||||
alpm_list_t *k;
|
alpm_list_t *k;
|
||||||
for(k = keys; k; k = k->next) {
|
for(k = keys; k; k = k->next) {
|
||||||
char *key = k->data;
|
char *key = k->data;
|
||||||
if(_alpm_key_in_keychain(handle, key) == 0) {
|
if(!alpm_list_find_str(errors, key) &&
|
||||||
if(!alpm_list_find_str(errors, key)) {
|
_alpm_key_in_keychain(handle, key) == 0) {
|
||||||
errors = alpm_list_add(errors, strdup(key));
|
errors = alpm_list_add(errors, strdup(key));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FREELIST(keys);
|
FREELIST(keys);
|
||||||
|
Loading…
Reference in New Issue
Block a user