#1468 Prosodyctl adduser incorrect dialog / missing io.flush

Reporter Antonino Catinello
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-New
  • Type-Defect
  1. Antonino Catinello on

    What steps will reproduce the problem? 1. prosodyctl adduser test@xyz.zz 2. 3. What is the expected output? Dialog to set a password. What do you see instead? Nothing. You'll see "Enter new password", after you entered input. What version of the product are you using? On what operating system? Latest packages on Void Linux . $ prosodyctl about Prosody 0.11.2 # Prosody directories Data directory: /var/lib/prosody Config directory: /etc/prosody Source directory: /usr/lib/prosody Plugin directories: /usr/lib/prosody/modules/ # Lua environment Lua version: Lua 5.1 Lua module search paths: /usr/lib/prosody/?.lua /usr/share/lua/5.1/?.lua /usr/share/lua/5.1/?/init.lua /usr/lib/lua/5.1/?.lua /usr/lib/lua/5.1/?/init.lua Lua C module search paths: /usr/lib/prosody/?.so /usr/lib/lua/5.1/?.so /usr/lib/lua/5.1/loadall.so LuaRocks: Not installed # Lua module versions lfs: LuaFileSystem 1.7.0 lxp: LuaExpat 1.3.0 socket: LuaSocket 2.0.2 ssl: 0.5.1 Please provide any additional information below. A simplie "flush" after the io.writes fixes the issue. $ diff prosodyctl.lua.old prosodyctl.lua.new 100a101 > io.flush() 106a108 > io.flush()

New comment

Not published. Used for spam prevention and optional update notifications.