Remove gratuitous newline when finit stops its own log service

This patch fixes an annoying thing when typing reboot/shutdown/poweroff
that caused an extra newline to be printed before displaying services
stopping.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2020-01-30 18:29:45 +01:00
parent 4389fbd8bc
commit 225510a270
+1 -3
View File
@@ -62,10 +62,8 @@ void log_init(int dbg)
void log_exit(void)
{
muffler();
if (!silent) {
if (!silent)
sched_yield();
fputs("\n", stderr);
}
/*
* Unless in debug mode at shutdown, Reinitialize screen,