summaryrefslogtreecommitdiff
path: root/pe.c
diff options
context:
space:
mode:
Diffstat (limited to 'pe.c')
-rw-r--r--pe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pe.c b/pe.c
index 1d8bdfa8..f7f6e5eb 100644
--- a/pe.c
+++ b/pe.c
@@ -646,7 +646,7 @@ handle_image (void *data, unsigned int datasize,
sha1hash);
if (EFI_ERROR(efi_status)) {
- if (verbose)
+ if (verbose || in_protocol)
console_print(L"Verification failed: %r\n", efi_status);
else
console_error(L"Verification failed", efi_status);