Drop unnecessary $?.success? check
This commit is contained in:
parent
1255f7b894
commit
889cfcc211
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user