Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
functions.sh: Pass -w argument to iptables
When starting concurrently with other users of iptables, the iptables invocations can fail because it can't grab the shared xtables lock. Pass the -w argument to iptables to wait instead of failing, which should hopefully make things work better. Use a 1-second max wait time to avoid hanging forever if something goes wrong. Fixes tohojo#132. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
- Loading branch information