aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/log.c b/init/log.c
index c7d69f6..b26a639 100644
--- a/init/log.c
+++ b/init/log.c
@@ -169,7 +169,7 @@ void _panic(const char *fileorigin, const int lineorigin, const char *fmt, ...)
if(pid != mainpid && mode == PANICMODE_RESPAWN) {
/* we want to let the main process handle the rest */
subsystem_change_mode(pid, mode);
- syscall(SYS_exit, 1);
+ syscall(SYS_exit_group, 1);
}
}