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