cloud-init: remove additional new line in log message
This commit is contained in:
parent
ab8741ef16
commit
7940593c89
@ -38,8 +38,8 @@ def main():
|
|||||||
warn("unable to open /proc/uptime\n")
|
warn("unable to open /proc/uptime\n")
|
||||||
uptime = "na"
|
uptime = "na"
|
||||||
|
|
||||||
msg = "cloud-init running: %s. up %s seconds\n" % (now, uptime)
|
msg = "cloud-init running: %s. up %s seconds" % (now, uptime)
|
||||||
sys.stderr.write(msg)
|
sys.stderr.write(msg + "\n")
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
|
|
||||||
cloudinit.logging_set_from_cfg_file()
|
cloudinit.logging_set_from_cfg_file()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user