diff options
| author | sevan <sevan@NetBSD.org> | 2018-05-02 00:03:27 +0000 |
|---|---|---|
| committer | sevan <sevan@NetBSD.org> | 2018-05-02 00:03:27 +0000 |
| commit | 25638ddffe43b9ff3eb639b593c423aa7fe928e4 (patch) | |
| tree | 0c632a581b1dff35d13fa4d9a7cc6e85603c2ff3 /libexec/httpd | |
| parent | 67eaa558de4a2f490bf71c2d844d155e93c38630 (diff) | |
Unbreak script for Lua 5.3.
This change breaks support for older releases of Lua.
Diffstat (limited to 'libexec/httpd')
| -rw-r--r-- | libexec/httpd/lua/optparse.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/httpd/lua/optparse.lua b/libexec/httpd/lua/optparse.lua index da9b62a16cf..6acfd99d74e 100644 --- a/libexec/httpd/lua/optparse.lua +++ b/libexec/httpd/lua/optparse.lua @@ -42,7 +42,7 @@ function OptionParser(t) end function o.parse_args() -- expand options (e.g. "--input=file" -> "--input", "file") - local arg = {unpack(arg)} + local arg = {table.unpack(arg)} for i=#arg,1,-1 do local v = arg[i] local flag, val = v:match('^(%-%-%w+)=(.*)') if flag then |
