mirror of
https://github.com/troglobit/finit.git
synced 2026-11-18 19:30:56 +00:00
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:
1 parent
4389fbd8bc
commit
225510a270
1 file changed
+1
-3
@@ -62,10 +62,8 @@ void log_init(int dbg)
|
|||||||
void log_exit(void)
|
void log_exit(void)
|
||||||
{
|
{
|
||||||
muffler();
|
muffler();
|
||||||
if (!silent) {
|
if (!silent)
|
||||||
sched_yield();
|
sched_yield();
|
||||||
fputs("\n", stderr);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unless in debug mode at shutdown, Reinitialize screen,
|
* Unless in debug mode at shutdown, Reinitialize screen,
|
||||||
|
|||||||
Reference in new issue
Block a user