diff options
| author | Jack Nagel | 2015-02-26 23:22:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-02-27 20:38:01 -0500 |
| commit | 889cfcc2114427e62c8f2031a146cb32370e5bcc (patch) | |
| tree | 68f3099b580f49c2cbbfb9fb0e512b7c49521a66 /Library | |
| parent | 1255f7b89492327fab822ad8254f0781acede888 (diff) | |
| download | brew-889cfcc2114427e62c8f2031a146cb32370e5bcc.tar.bz2 | |
Drop unnecessary $?.success? check
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac/hardware.rb | 2 |
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) |
