diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-13 23:30:52 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-13 23:31:57 -0800 |
commit | 4c8c891b76c2a44a0ae76eea8f07934b984caab0 (patch) | |
tree | 864304a35e9aa8aaf4d8150ef4c6c58af2c21ddf | |
parent | 48e206052201d4b5c86f02c9e2fb5772f5a2775d (diff) | |
download | unicorn-4c8c891b76c2a44a0ae76eea8f07934b984caab0.tar.gz |
Durr....
-rw-r--r-- | lib/unicorn.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 68121b4..71d5994 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -249,9 +249,6 @@ module Unicorn def stdout_path=(path); redirect_io($stdout, path); end def stderr_path=(path); redirect_io($stderr, path); end - alias_method :set_pid, :pid= - undef_method :pid= - # sets the path for the PID file of the master process def pid=(path) if path @@ -274,7 +271,7 @@ module Unicorn File.rename(fp.path, path) fp.close end - self.set_pid(path) + super(path) end # add a given address to the +listeners+ set, idempotently |