diff options
-rw-r--r-- | init/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ 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), SIGTERM); + kill(0, SIGTERM); raise(SIGTERM); exit(0); } |