summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."