mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 11:43:10 +00:00
Always end rc.conf entries with a new line
This commit is contained in:
@@ -359,7 +359,7 @@ class Service(object):
|
||||
self.changed = True
|
||||
|
||||
# Add line to the list.
|
||||
new_rc_conf.append(rcline)
|
||||
new_rc_conf.append(rcline.strip() + '\n')
|
||||
|
||||
# We are done with reading the current rc.conf, close it.
|
||||
RCFILE.close()
|
||||
|
||||
Reference in New Issue
Block a user