diff options
Diffstat (limited to 'init/log.c')
-rw-r--r-- | init/log.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -175,7 +175,9 @@ void _panic(const char *fileorigin, /* if we are going to die, we dont really need to clean up */ if(mode == PANICMODE_DIE) { - kill(-getpgid(pid), SIGKILL); + kill(-getpgid(pid), SIGTERM); + raise(SIGTERM); + exit(0); } print(NOLOCK("5") "------------[ cut here ]------------"); |