aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-12-18 15:50:57 -0600
committerturret <turret@duck.com>2023-12-18 15:50:57 -0600
commitf056c79d17c3fb9920d46dfd532876e420a969b5 (patch)
tree8e7740399a0132c820cc09b24f212e23bf55772f /init
parent24ce2da758627620754d854b81f80f67ae328f51 (diff)
downloaddiscord-bot-skeleton-f056c79d17c3fb9920d46dfd532876e420a969b5.tar.gz
discord-bot-skeleton-f056c79d17c3fb9920d46dfd532876e420a969b5.tar.bz2
discord-bot-skeleton-f056c79d17c3fb9920d46dfd532876e420a969b5.zip
panic: add second cut-here for debug & respawnonly
Diffstat (limited to 'init')
-rw-r--r--init/log.c2
1 files changed, 2 insertions, 0 deletions
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);