summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/tcp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/tcp.rb')
-rw-r--r--lib/custodian/protocoltest/tcp.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb
index dfaab2d..60c7be7 100644
--- a/lib/custodian/protocoltest/tcp.rb
+++ b/lib/custodian/protocoltest/tcp.rb
@@ -126,7 +126,7 @@ module Custodian
# reset the error, in case we were previously executed.
@error = nil
- return( run_test_internal( @host, @port, @banner, ( ! @banner.nil? ) ) )
+ ( run_test_internal( @host, @port, @banner, ( ! @banner.nil? ) ) )
end
@@ -246,7 +246,7 @@ module Custodian
# All was OK
#
@error = nil
- return true
+ true
end
@@ -318,7 +318,7 @@ module Custodian
return false
end
@error = "Misc failure"
- return false
+ false
end