xbps-bin: if configure phase fails, print the error string.
--HG-- extra : convert_revision : 5192feaff36631e3fbfa120e7301479e53eb731b
This commit is contained in:
parent
22fefba371
commit
bba692013f
1 changed files with 2 additions and 2 deletions
|
@ -416,8 +416,8 @@ exec_transaction(struct transaction *trans)
|
|||
while ((obj = prop_object_iterator_next(trans->iter)) != NULL) {
|
||||
prop_dictionary_get_cstring_nocopy(obj, "pkgname", &pkgname);
|
||||
if ((rv = xbps_configure_pkg(pkgname)) != 0) {
|
||||
printf("Error configuring package %s-%s\n",
|
||||
pkgname, version);
|
||||
printf("Error configuring package %s-%s (%s)\n",
|
||||
pkgname, version, strerror(rv));
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue