mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Always end rc.conf entries with a new line
This commit is contained in:
parent
a8b24699be
commit
ca512b5def
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue