Skip to content

Commit 00a2e88

Browse files
szaimenst3iny
andauthored
address review
Signed-off-by: Simon L. <[email protected]> Co-authored-by: Richard Steinmetz <[email protected]> Signed-off-by: Simon L. <[email protected]>
1 parent 895f4b8 commit 00a2e88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Containers/talk/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ fi
3232

3333
IP_BINDING="::"
3434
if grep -q "1" /sys/module/ipv6/parameters/disable \
35-
|| sysctl -a 2>/dev/null | grep "net.ipv6.conf.all.disable_ipv6" | grep -q "1" \
36-
|| sysctl -a 2>/dev/null | grep "net.ipv6.conf.default.disable_ipv6" | grep -q "1"; then
35+
|| grep -q "1" /proc/sys/net/ipv6/conf/all/disable_ipv6 \
36+
|| grep -q "1" /proc/sys/net/ipv6/conf/default/disable_ipv6; then
3737
IP_BINDING="0.0.0.0"
3838
fi
3939

0 commit comments

Comments
 (0)