diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index b9465c276f..5bddd455b8 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -585,7 +585,7 @@ module Cask next if result.success? # Only fail if signature is wrong, not when no signature is present at all. - next result.stderr.include?("not signed at all") + next if result.stderr.include?("not signed at all") add_warning "Signature verification failed: #{result.merged_output}" end