diff options
Diffstat (limited to 'awall/iptables.lua')
-rw-r--r-- | awall/iptables.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/awall/iptables.lua b/awall/iptables.lua index d8c3f10..b1303b8 100644 --- a/awall/iptables.lua +++ b/awall/iptables.lua @@ -61,8 +61,9 @@ function BaseIPTables:restore(test) if file then io.close(file) - local pid, stdin, stdout = lpc.run(params.cmd..'-restore', - unpack({test and '-t' or nil})) + local pid, stdin, stdout = lpc.run( + params.cmd..'-restore', table.unpack{test and '-t' or nil} + ) stdout:close() self:dumpfile(family, stdin) stdin:close() |