about summary refs log tree commit homepage
path: root/lib/yahns/config.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-20 09:23:40 +0000
committerEric Wong <e@80x24.org>2013-10-21 04:09:13 +0000
commiteece181d9f6462114fc59a15c9546d92f99a9499 (patch)
tree2e4b31ea0ba918043cb9bdd53ced38a082e5f23f /lib/yahns/config.rb
parentc9191120c9bc5125d00f9cc63daed487ef2f1e19 (diff)
downloadyahns-eece181d9f6462114fc59a15c9546d92f99a9499.tar.gz
This can cause problems if we fork/exec outside of Ruby's knowledge
Diffstat (limited to 'lib/yahns/config.rb')
-rw-r--r--lib/yahns/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index bdd03d6..f1b3612 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -335,7 +335,7 @@ class Yahns::Config # :nodoc:
         @set[key] = path = "/dev/null"
       end
       File.open(path, 'a') { |fp| io.reopen(fp) } if String === path
-      io.close_on_exec = io.sync = true
+      io.sync = true
     end
 
     [ :logger, :pid, :worker_processes ].each do |var|