Always end rc.conf entries with a new line

This commit is contained in:
Austin Hyde 2015-08-10 17:42:26 -04:00
parent 7f01246bb5
commit 5c25057868

View file

@ -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()