Skip to content

Commit

Permalink
Merge pull request ddnet#7063 from Teero888/master
Browse files Browse the repository at this point in the history
  • Loading branch information
heinrich5991 authored Aug 23, 2023
2 parents 1c8a67f + cd66a8c commit 8b217e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8b217e6

Please sign in to comment.