summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ping.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/ping.rb')
-rw-r--r--lib/custodian/protocoltest/ping.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/ping.rb b/lib/custodian/protocoltest/ping.rb
index 37722c2..937a5db 100644
--- a/lib/custodian/protocoltest/ping.rb
+++ b/lib/custodian/protocoltest/ping.rb
@@ -71,7 +71,7 @@ module Custodian
#
binary = nil
binary = "./bin/multi-ping"
- binary = "/usr/bin/multi-ping" if ( File.exists?( "/usr/bin/multi-ping" ) )
+ binary = "/usr/bin/multi-ping" if ( File.exist?( "/usr/bin/multi-ping" ) )
if ( binary.nil? )
@error = "Failed to find '/usr/bin/multi-ping'"