diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 08:38:39 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 08:38:39 +0000 |
commit | 51abd2f27de80cfdb49ea46e9c9b73e7aaf778a6 (patch) | |
tree | 2c41a1caa93a2b75c74a93c6401be6c58105ba72 /lib/custodian | |
parent | 2d2c5c6c3721209485fb9081ceebc2e6adad1118 (diff) |
Use the system wide one if we can.
Diffstat (limited to 'lib/custodian')
-rwxr-xr-x | lib/custodian/protocol-tests/ping.rb | 4 |
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'" |