Always end rc.conf entries with a new line

pull/18777/head
Austin Hyde 9 years ago committed by Matt Clay
parent a8b24699be
commit ca512b5def

@ -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…
Cancel
Save