luci-mod-status: use -w flag when dumping iptables
authorJo-Philipp Wich <jo@mein.io>
Sun, 2 Dec 2018 13:29:53 +0000 (14:29 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 2 Dec 2018 13:30:51 +0000 (14:30 +0100)
commitbe2d0536f4f6083cc0ba77d4e70915164889ca3e
tree8577a1a43d05e6384175fd6892c63490338ceac5
parent4f2b80e109031e4e538f09a8beca52cf8e0fd6b5
luci-mod-status: use -w flag when dumping iptables

Multiple iptables listing commands might be triggered in parallel due
to the XHR polling, so use the -w flag to wait for the lock to become
free.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/luasrc/controller/admin/status.lua