summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-06-17 21:51:13 -0400
committerScott Moser <smoser@ubuntu.com>2010-06-17 21:51:13 -0400
commit245ec190d1cd22f415cfae7f16c875ad49b0d81c (patch)
tree580fa6760d17d7ea1736ee75051167cb33656db8
parentceff5f034fd0a826dbd04c058989ed72ba3960a0 (diff)
downloadvyos-cloud-init-245ec190d1cd22f415cfae7f16c875ad49b0d81c.tar.gz
vyos-cloud-init-245ec190d1cd22f415cfae7f16c875ad49b0d81c.zip
cloud-init: remove additional new line in log message
-rwxr-xr-xcloud-init.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloud-init.py b/cloud-init.py
index 924f3350..af09a66c 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -38,8 +38,8 @@ def main():
warn("unable to open /proc/uptime\n")
uptime = "na"
- msg = "cloud-init running: %s. up %s seconds\n" % (now, uptime)
- sys.stderr.write(msg)
+ msg = "cloud-init running: %s. up %s seconds" % (now, uptime)
+ sys.stderr.write(msg + "\n")
sys.stderr.flush()
cloudinit.logging_set_from_cfg_file()