From 81730f536aca5a6b20a8631e539172654b4d0f5e Mon Sep 17 00:00:00 2001 From: MrSecure Date: Fri, 30 Oct 2015 07:31:56 -0500 Subject: [PATCH] check for TCP listener Signed-off-by: Mr. Secure --- tests/2_docker_daemon_configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/2_docker_daemon_configuration.sh b/tests/2_docker_daemon_configuration.sh index ab51b4e..762d083 100644 --- a/tests/2_docker_daemon_configuration.sh +++ b/tests/2_docker_daemon_configuration.sh @@ -79,7 +79,7 @@ fi # 2.9 check_2_9="2.9 - Configure TLS authentication for Docker daemon" -get_command_line_args docker | grep "\-H" >/dev/null 2>&1 +get_command_line_args docker | grep "\-H\wtcp://" >/dev/null 2>&1 if [ $? -eq 0 ]; then get_command_line_args docker | grep "tlsverify" | grep "tlskey" >/dev/null 2>&1 if [ $? -eq 0 ]; then