Avoids passwd corruption on #mod_user.
This commit is contained in:
parent
3038e7d076
commit
505171ff7b
@ -189,11 +189,11 @@ class Passwd
|
||||
|
||||
user.to_csv
|
||||
else
|
||||
line.join(':') + "\n"
|
||||
line.join(':')
|
||||
end
|
||||
end
|
||||
|
||||
File.write @passwd, new_passwd.join + "\n"
|
||||
File.write @passwd, new_passwd.join("\n") + "\n"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user