зеркало из https://github.com/github/grit.git
ignore errors from SIGCHLD on trap
This commit is contained in:
Родитель
5e3ee11986
Коммит
2d3acf90f3
|
@ -1,4 +1,9 @@
|
|||
trap("CHLD") { Process.wait(-1, Process::WNOHANG) }
|
||||
trap("CHLD") do
|
||||
begin
|
||||
Process.wait(-1, Process::WNOHANG)
|
||||
rescue Object
|
||||
end
|
||||
end
|
||||
|
||||
module Grit
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче