Prevent zombie processes

This commit is contained in:
cn committed 2013-04-28 16:06:07 +02:00
1 parent 00255ebed9
commit a4b6a63383
1 file changed
+2
@@ -15,6 +15,8 @@ module Dyndnsd
pid = fork do pid = fork do
exec @command exec @command
end end
# detach so children don't become zombies
Process.detach(pid)
end end
end end
end end