fixup! gluon-web-admin: use util.popen3 in remote.lua
This commit is contained in:
		
							parent
							
								
									b5655410e5
								
							
						
					
					
						commit
						47f835e254
					
				@ -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))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user