mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] Add a small comment
This commit is contained in:
parent
deeb30637e
commit
e4ee83cc8e
1 changed files with 2 additions and 0 deletions
|
@ -610,6 +610,8 @@ function secure_cmd_password(cmd, password, start)
|
|||
w_pwd:close()
|
||||
local r_pwd = io.open(tmp_file, 'r')
|
||||
text = r_pwd:read "*a"
|
||||
|
||||
-- Remove the extra end line
|
||||
if text:sub(-1, -1) == "\n" then
|
||||
text = text:sub(1, -2)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue