From 2437a844655a4784c49c601e93384c0bfae9e060 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 28 May 2017 17:57:09 +0100 Subject: [PATCH] sshguard: fix rubocop warnings. --- Formula/sshguard.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/sshguard.rb b/Formula/sshguard.rb index 89ab8ee06d..9614e18c87 100644 --- a/Formula/sshguard.rb +++ b/Formula/sshguard.rb @@ -32,11 +32,11 @@ class Sshguard < Formula end def firewall - MacOS.version >= :lion ? "pf" : "ipfw" + (MacOS.version >= :lion) ? "pf" : "ipfw" end def log_path - MacOS.version >= :lion ? "/var/log/system.log" : "/var/log/secure.log" + (MacOS.version >= :lion) ? "/var/log/system.log" : "/var/log/secure.log" end def caveats