From efe66c755bb75291f1b4bdbcacea90dc886a3bdd Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Mon, 5 Dec 2016 23:02:49 +0000 Subject: [PATCH] Add newline to issue.net. --- tools/onlrfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/onlrfs.py b/tools/onlrfs.py index 8152731f..126ebe30 100755 --- a/tools/onlrfs.py +++ b/tools/onlrfs.py @@ -525,7 +525,7 @@ rm -f /usr/sbin/policy-rc.d fn = os.path.join(dir_, "etc/issue.net") onlu.execute("sudo chmod a+w %s" % fn) with open(fn, "w") as f: - f.write("%s" % issue) + f.write("%s\n" % issue) onlu.execute("sudo chmod a-w %s" % fn)