mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-08 14:42:02 +00:00
signature: Show more information when signature file open fails
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
This commit is contained in:
+1
-1
@@ -305,7 +305,7 @@ static X509 *get_cert_from_path(const char *certificate_path)
|
||||
|
||||
fp_pubkey = fopen(certificate_path, "re");
|
||||
if (!fp_pubkey) {
|
||||
error("Failed fopen %s\n", certificate_path);
|
||||
error("Failed fopen %s (%i - %s)\n", certificate_path, errno, strerror(errno));
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user