diff --git a/src/passwd.cr b/src/passwd.cr index 4c5ad3d..7fc38ee 100644 --- a/src/passwd.cr +++ b/src/passwd.cr @@ -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