From f056c79d17c3fb9920d46dfd532876e420a969b5 Mon Sep 17 00:00:00 2001 From: turret Date: Mon, 18 Dec 2023 15:50:57 -0600 Subject: panic: add second cut-here for debug & respawnonly --- init/log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init') diff --git a/init/log.c b/init/log.c index b26a639..aba141d 100644 --- a/init/log.c +++ b/init/log.c @@ -157,6 +157,8 @@ void _panic(const char *fileorigin, const int lineorigin, const char *fmt, ...) if(mode == PANICMODE_DIE) kill(-getpgid(pid), SIGINT); + print(NOLOCK("5") "------------[ cut here ]------------"); + console_lock = 0; free(_fmt); free(backtrace_symbolnames); -- cgit v1.2.3