xbps-bin: always check if the there are missing deps regardless of the errno value.
This commit is contained in:
parent
0ac845eb05
commit
2c72c81db0
@ -616,11 +616,11 @@ xbps_exec_transaction(bool yes)
|
|||||||
strerror(errno));
|
strerror(errno));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (errno == ENOENT) {
|
/*
|
||||||
/*
|
* Bail out if there are unresolved deps.
|
||||||
* Bail out if there are unresolved deps.
|
*/
|
||||||
*/
|
array = prop_dictionary_get(trans->dict, "missing_deps");
|
||||||
array = prop_dictionary_get(trans->dict, "missing_deps");
|
if (array && prop_array_count(array) > 0) {
|
||||||
show_missing_deps(trans->dict);
|
show_missing_deps(trans->dict);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user