about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/unicorn/tmpio.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/tmpio.rb b/lib/unicorn/tmpio.rb
index cce89ac..a3c530d 100644
--- a/lib/unicorn/tmpio.rb
+++ b/lib/unicorn/tmpio.rb
@@ -12,7 +12,7 @@ class Unicorn::TmpIO < File
   # buffering is disabled
   def self.new
     fp = begin
-      open("#{Dir::tmpdir}/#{rand}", RDWR|CREAT|EXCL, 0600)
+      super("#{Dir::tmpdir}/#{rand}", RDWR|CREAT|EXCL, 0600)
     rescue Errno::EEXIST
       retry
     end