summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest
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
commitdb252e7d29b2bebda5bd7afc3dd6ef9ede14a3d2 (patch)
tree499f527752e42e75d083a135a842dd24474a5489 /lib/custodian/protocoltest
parent481e2775c7426914b15ad61d8e2fc1f474f820eb (diff)
Updated the ping test to use the correct hostname.
Diffstat (limited to 'lib/custodian/protocoltest')
-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."