aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2015-02-26 23:22:23 -0500
committerJack Nagel2015-02-27 20:38:01 -0500
commit0b4a342a6456a3e7e2f010c584e38349cfa76700 (patch)
tree9d02d56d03cd34d2b6bca818cab0242fbc436c17 /Library/Homebrew
parent3c6b174138fa039ab7a1256626e85931a8f1549e (diff)
downloadhomebrew-0b4a342a6456a3e7e2f010c584e38349cfa76700.tar.bz2
Drop unnecessary $?.success? check
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/os/mac/hardware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb
index 9937251df..04e470b9b 100644
--- a/Library/Homebrew/os/mac/hardware.rb
+++ b/Library/Homebrew/os/mac/hardware.rb
@@ -138,7 +138,7 @@ module MacCPUs
protected
def sysctl_bool(key)
- sysctl_int(key) == 1 && $?.success?
+ sysctl_int(key) == 1
end
def sysctl_int(key)