| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 079bb31 commit 025f658
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -607,8 +607,9 @@ void SyncProcessRunner::Kill() { | |||
| 607 | 607 | if (r < 0 && r != UV_ESRCH) { | |
| 608 | 608 | SetError(r); | |
| 609 | 609 | ||
| 610 | - r = uv_process_kill(&uv_process_, SIGKILL); | ||
| 611 | - CHECK(r >= 0 || r == UV_ESRCH); | ||
| 610 | + // Deliberately ignore the return value, we might not have | ||
| 611 | + // sufficient privileges to signal the child process. | ||
| 612 | + USE(uv_process_kill(&uv_process_, SIGKILL)); | ||
| 612 | 613 | } | |
| 613 | 614 | } | |
| 614 | 615 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments