mirror of https://github.com/cmur2/dyndnsd.git
Prevent zombie processes
This commit is contained in:
parent
00255ebed9
commit
a4b6a63383
|
@ -15,6 +15,8 @@ module Dyndnsd
|
|||
pid = fork do
|
||||
exec @command
|
||||
end
|
||||
# detach so children don't become zombies
|
||||
Process.detach(pid)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue