Always end rc.conf entries with a new line
This commit is contained in:
parent
7f01246bb5
commit
5c25057868
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ class Service(object):
|
||||||
self.changed = True
|
self.changed = True
|
||||||
|
|
||||||
# Add line to the list.
|
# 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.
|
# We are done with reading the current rc.conf, close it.
|
||||||
RCFILE.close()
|
RCFILE.close()
|
||||||
|
|
Loading…
Reference in a new issue