fixup! gluon-web-admin: use util.popen3 in remote.lua

This commit is contained in:
aiyion.prime 2021-07-13 09:03:47 +02:00
parent b5655410e5
commit 47f835e254

View File

@ -80,7 +80,7 @@ local function set_password(password)
stdout = sp.DEVNULL,
stderr = sp.DEVNULL}
local pid, pipe = sp.popen('passwd', {[0] = 'passwd'}, options)
local pid, pipe = sp.popen('passwd', {}, options)
local inw = pipe["stdin"]
unistd.write(inw, string.format('%s\n%s\n', password, password))