diff options
| author | turret <turret@duck.com> | 2023-12-18 15:44:12 -0600 | 
|---|---|---|
| committer | turret <turret@duck.com> | 2023-12-18 15:44:12 -0600 | 
| commit | 3d920fd2be05203c12452c2f3ccec2d6112a568c (patch) | |
| tree | ada1e5decb8a8ce404440b0985584ac09fb6bf0b /init | |
| parent | 77c9eeb504b911ab677f63085c37482cfa67bc96 (diff) | |
| download | discord-bot-skeleton-3d920fd2be05203c12452c2f3ccec2d6112a568c.tar.gz discord-bot-skeleton-3d920fd2be05203c12452c2f3ccec2d6112a568c.tar.bz2 discord-bot-skeleton-3d920fd2be05203c12452c2f3ccec2d6112a568c.zip | |
panic: use exit_group instead of exit
Diffstat (limited to 'init')
| -rw-r--r-- | init/log.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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);      }  } | 
