check for TCP listener

Signed-off-by: Mr. Secure <ben.github@mrsecure.org>
This commit is contained in:
MrSecure 2015-10-30 07:31:56 -05:00 committed by Mr. Secure
parent 8eb4cf7e13
commit 81730f536a

View file

@ -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