Avoids passwd corruption on #mod_user.

This commit is contained in:
Luka Vandervelden 2019-06-29 03:55:23 +02:00
parent 3038e7d076
commit 505171ff7b

View File

@ -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