mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
commit
8b217e6362
|
@ -4153,7 +4153,7 @@ int kill_process(PROCESS process)
|
|||
#elif defined(CONF_FAMILY_UNIX)
|
||||
int status;
|
||||
kill(process, SIGTERM);
|
||||
return !waitpid(process, &status, 0);
|
||||
return waitpid(process, &status, 0) != -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue