diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:21:36 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:21:36 +0000 |
commit | d07ac8ecbedb4831e5aa677b8878f0e8eb37e363 (patch) | |
tree | f7bc6a6fdd381ffa7d73f487d3f10f6e65a798e4 /lib/custodian/util/ping.rb | |
parent | 16b766cff0984494c7b81c1efc08e6386ae819f8 (diff) |
Whitespace fixups.
These were all identified and suggested by rubocop.
Diffstat (limited to 'lib/custodian/util/ping.rb')
-rw-r--r-- | lib/custodian/util/ping.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/util/ping.rb b/lib/custodian/util/ping.rb index f8b7c75..3b3586e 100644 --- a/lib/custodian/util/ping.rb +++ b/lib/custodian/util/ping.rb @@ -78,7 +78,7 @@ module Custodian if (system("ping6 -c 1 #{@resolved} 2>/dev/null >/dev/null") == true) return true end - elsif(is_ipv4?) + elsif is_ipv4? if (system("ping -c 1 #{@resolved} 2>/dev/null >/dev/null") == true) return true end |