mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
wait for iptables lock in support script
Addresses failure to collect iptables information if lock is held during data capture. Follows the reccomendation of iptables stderr in this scenario: ``` Another app is currently holding the xtables lock. Perhaps you want to use the -w option? ``` Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
This commit is contained in:
parent
506a9245c7
commit
1b49b17ef5
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ type -P ${BRCTL} > /dev/null || die "This tool requires brctl"
|
|||
type -P ${IPTABLES} > /dev/null || die "This tool requires iptables"
|
||||
|
||||
echo "iptables configuration"
|
||||
${IPTABLES} -n -v -L -t filter
|
||||
${IPTABLES} -n -v -L -t nat
|
||||
${IPTABLES} -w1 -n -v -L -t filter
|
||||
${IPTABLES} -w1 -n -v -L -t nat
|
||||
echo ""
|
||||
|
||||
echo "Overlay network configuration"
|
||||
|
|
Loading…
Reference in a new issue