Avoids passwd corruption on #mod_user.

ipc07
Luka Vandervelden 2019-06-29 03:55:23 +02:00
parent 3038e7d076
commit 505171ff7b
1 changed files with 2 additions and 2 deletions

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