xbps-bin: always check if the there are missing deps regardless of the errno value.

This commit is contained in:
Juan RP 2010-11-25 10:58:44 +01:00
parent 0ac845eb05
commit 2c72c81db0

View File

@ -616,11 +616,11 @@ xbps_exec_transaction(bool yes)
strerror(errno));
goto out;
}
if (errno == ENOENT) {
/*
* Bail out if there are unresolved deps.
*/
array = prop_dictionary_get(trans->dict, "missing_deps");
/*
* Bail out if there are unresolved deps.
*/
array = prop_dictionary_get(trans->dict, "missing_deps");
if (array && prop_array_count(array) > 0) {
show_missing_deps(trans->dict);
goto out;
}