summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 08:38:39 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 08:38:39 +0000
commit51abd2f27de80cfdb49ea46e9c9b73e7aaf778a6 (patch)
tree2c41a1caa93a2b75c74a93c6401be6c58105ba72
parent2d2c5c6c3721209485fb9081ceebc2e6adad1118 (diff)
Use the system wide one if we can.
-rwxr-xr-xlib/custodian/protocol-tests/ping.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/custodian/protocol-tests/ping.rb b/lib/custodian/protocol-tests/ping.rb
index fd5a4ef..7f1ffbd 100755
--- a/lib/custodian/protocol-tests/ping.rb
+++ b/lib/custodian/protocol-tests/ping.rb
@@ -57,6 +57,10 @@ class PINGTest
binary = "../../bin/multi-ping" if ( File.exists?( "../../bin/multi-ping" ) )
binary = "../../../bin/multi-ping" if ( File.exists?( "../../../bin/multi-ping" ) )
binary = "../../../../bin/multi-ping" if ( File.exists?( "../../../../bin/multi-ping" ) )
+ #
+ # System-wide.
+ #
+ binary = "/usr/bin/multi-ping" if ( File.exists?( "/usr/bin/multi-ping" ) )
if ( binary.nil? )
@error = "Failed to find 'multi-ping'"