From 3ac1670c870cf26a6e578c880151c49b7b289a82 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 22 Sep 2009 11:30:06 -0700 Subject: configurator: fix user switch example in RDoc We changed this in 97e469fc3afb751618b8b9a7b364cb447aaf90dd but never updated the example. --- lib/unicorn/configurator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 438e363..947ea18 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -102,7 +102,7 @@ module Unicorn # user, group = 'www-data', 'www-data' # target_uid = Etc.getpwnam(user).uid # target_gid = Etc.getgrnam(group).gid - # worker.tempfile.chown(target_uid, target_gid) + # worker.tmp.chown(target_uid, target_gid) # if uid != target_uid || gid != target_gid # Process.initgroups(user, target_gid) # Process::GID.change_privilege(target_gid) -- cgit v1.2.3-24-ge0c7