Merge pull request #7063 from Teero888/master

fix #7062
This commit is contained in:
heinrich5991 2023-08-23 19:30:33 +00:00 committed by GitHub
commit 8b217e6362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}