Always end rc.conf entries with a new line

reviewable/pr18780/r1
Austin Hyde 9 years ago
parent 7f01246bb5
commit 5c25057868

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