top: do not add an extra line when rcfile is rewritten
When the configuration file is first written, there is just the normal single newline which ends that rcfile. However, when any existing rcfile was rewritten, there was one extra newline '\n' character added at the end. This will happen just once. The file does NOT continue to grow with the extra blank lines always being added. Anyway, this patch will put an end to such a practice. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in: