Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Teero888 authored Aug 23, 2023
1 parent 1c8a67f commit cd66a8c
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 cd66a8c

Please sign in to comment.