Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2017-01-23 13:38:28 +01:00
parent a5f48da9f2
commit 7aa4682c87

View file

@ -179,7 +179,7 @@ fi
# 2.17
check_2_17="2.17 - Bind swarm services to a specific host interface"
netstat -lt 2>/dev/null | grep -i 2377 >/dev/null 2>&1
netstat -lt | grep -e '\[::]:2377' -e '*:2377' -e '0.0.0.0:2377' >/dev/null 2>&1
if [ $? -eq 1 ]; then
pass "$check_2_17"
else