summaryrefslogtreecommitdiff
path: root/bin/multi-ping
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:09:46 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:09:46 +0000
commit891b720013f06f092f6be82adad95e5551c696b6 (patch)
treebffba558147d68d951f403caa2b6396e4faf5f29 /bin/multi-ping
parent3a96cc957dbd97c6ffeaea42f738e7c35b4acbc7 (diff)
Do not use parentheses for method calls with no arguments.
This is neater. Flagged by rubocop
Diffstat (limited to 'bin/multi-ping')
-rwxr-xr-xbin/multi-ping2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/multi-ping b/bin/multi-ping
index 00ae466..9833215 100755
--- a/bin/multi-ping
+++ b/bin/multi-ping
@@ -121,7 +121,7 @@ helper = Custodian::Util::Ping.new( hostname )
#
# Ping the host, via the helper
#
-if ( helper.run_ping() )
+if ( helper.run_ping )
puts "#{hostname} - #{helper.address} - is alive."
exit 0
else