aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua
index 2bfb0662..591c67d1 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -18,7 +18,7 @@ _M = {} -- language modules table
if jit then module, package.searchers, bit32 = nil, package.loaders, bit end
-- pdcurses compatibility.
if CURSES and WIN32 then
- function spawn(argv, cwd, stdout_cb, stderr_cb, exit_cb)
+ function spawn(argv, cwd, stdout_cb, _, exit_cb)
local current_dir = lfs.currentdir()
if cwd then lfs.chdir(cwd) end
local p = io.popen(argv..' 2>&1')