xbps_transaction_commit: if the pkg RSA signature is invalid print rval too.
This commit is contained in:
parent
c47beef740
commit
53c6a5d1d7
@ -94,9 +94,10 @@ check_binpkgs(struct xbps_handle *xhp, xbps_object_iterator_t iter)
|
||||
"%s: verifying RSA signature...", pkgver);
|
||||
|
||||
if (!xbps_verify_file_signature(repo, binfile)) {
|
||||
rv = EPERM;
|
||||
rv = errno;
|
||||
xbps_set_cb_state(xhp, XBPS_STATE_VERIFY_FAIL, rv, pkgver,
|
||||
"%s: the RSA signature is not valid!", pkgver);
|
||||
"%s: the RSA signature is not valid: %s", pkgver,
|
||||
strerror(rv));
|
||||
free(binfile);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user