diff options
author | turret <turret@duck.com> | 2023-12-18 15:50:57 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2023-12-18 15:50:57 -0600 |
commit | f056c79d17c3fb9920d46dfd532876e420a969b5 (patch) | |
tree | 8e7740399a0132c820cc09b24f212e23bf55772f /init/log.c | |
parent | 24ce2da758627620754d854b81f80f67ae328f51 (diff) | |
download | discord-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/log.c')
-rw-r--r-- | init/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |