diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-02-22 14:37:48 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-02-22 14:38:43 -0800 |
commit | e8344fbf3af94f96b3a6467d6ddad176935f0017 (patch) | |
tree | 06100ec06542fd787033ec0d1b21d636dc52be1c | |
parent | 3b589335d56ab59aca6772b78eeb96335dc55455 (diff) | |
download | unicorn-e8344fbf3af94f96b3a6467d6ddad176935f0017.tar.gz |
no point in using "next" here
-rw-r--r-- | lib/unicorn/util.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index 3951596..5ceda5c 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -28,8 +28,7 @@ module Unicorn def chown_logs(uid, gid) ObjectSpace.each_object(File) do |fp| - is_log?(fp) or next - fp.chown(uid, gid) + fp.chown(uid, gid) if is_log?(fp) end end |