about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-04-11 21:38:10 +0000
committerEric Wong <normalperson@yhbt.net>2012-04-11 21:38:10 +0000
commit12cd717d612fe8170f53f5f8377137e1b41db015 (patch)
treeab3546cb5a83457dff38e4c0686e355847c7d242 /lib
parent4757aa70c3b3ab953255f74831b6f98e6f32fb72 (diff)
downloadunicorn-12cd717d612fe8170f53f5f8377137e1b41db015.tar.gz
Found via rdoc-spellcheck
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn/worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicorn/worker.rb b/lib/unicorn/worker.rb
index cd41e22..1fb6a4a 100644
--- a/lib/unicorn/worker.rb
+++ b/lib/unicorn/worker.rb
@@ -63,13 +63,13 @@ class Unicorn::Worker
   # Changes the worker process to the specified +user+ and +group+
   # This is only intended to be called from within the worker
   # process from the +after_fork+ hook.  This should be called in
-  # the +after_fork+ hook after any priviledged functions need to be
+  # the +after_fork+ hook after any privileged functions need to be
   # run (e.g. to set per-worker CPU affinity, niceness, etc)
   #
   # Any and all errors raised within this method will be propagated
   # directly back to the caller (usually the +after_fork+ hook.
   # These errors commonly include ArgumentError for specifying an
-  # invalid user/group and Errno::EPERM for insufficient priviledges
+  # invalid user/group and Errno::EPERM for insufficient privileges
   def user(user, group = nil)
     # we do not protect the caller, checking Process.euid == 0 is
     # insufficient because modern systems have fine-grained