summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ping.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 18:49:03 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 18:49:03 +0000
commitca93559d34e5d295fcd655da46436dc5ee635986 (patch)
tree499f527752e42e75d083a135a842dd24474a5489 /lib/custodian/protocoltest/ping.rb
parent87e9127e3a65b081b573d271c785020d78b6b700 (diff)
Updated the ping test to use the correct hostname.
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 03d4c0b..3d3d0d7 100644
--- a/lib/custodian/protocoltest/ping.rb
+++ b/lib/custodian/protocoltest/ping.rb
@@ -88,7 +88,7 @@ module Custodian
#
# Run the test: Avoiding the use of the shell.
#
- if ( system( binary, host ) == true )
+ if ( system( binary, @host ) == true )
return true
else
@error = "Ping failed."