From 069897c77f60194b8d2749d7bcca2de9076bf5d6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 30 Aug 2024 11:20:55 +0200 Subject: [PATCH] style fixup Signed-off-by: Wolfgang Bumiller --- src/helpers/verifier.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/helpers/verifier.rs b/src/helpers/verifier.rs index 0930bd7..0010ba2 100644 --- a/src/helpers/verifier.rs +++ b/src/helpers/verifier.rs @@ -160,7 +160,5 @@ pub(crate) fn verify_signature( } // neither a keyring nor a certificate was detect, so we abort here - Err(format_err!( - "'key-path' contains neither a keyring nor a certificate, aborting!" - )) + bail!("'key-path' contains neither a keyring nor a certificate, aborting!"); }