diff --git a/Library/Homebrew/gpg.rb b/Library/Homebrew/gpg.rb index a9ae0276b5..066f67864e 100644 --- a/Library/Homebrew/gpg.rb +++ b/Library/Homebrew/gpg.rb @@ -20,7 +20,7 @@ class Gpg GPG_EXECUTABLE = gpg2 || gpg def self.available? - File.exist?(GPG_EXECUTABLE.to_s) && File.executable?(GPG_EXECUTABLE.to_s) + File.executable?(GPG_EXECUTABLE.to_s) end def self.create_test_key(path)