search for: cde2563

Displaying 1 result from an estimated 1 matches for "cde2563".

Did you mean: cdd5263
2012 Oct 02
3
[PATCH] chowning /dev/null should be guarded against
...9;s not really expected that someone is going to monkey with /dev/null. So here''s a simple patch. I am not on the mailing list, so please Cc: me. --- lib/unicorn/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index cde2563..6b6cca2 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -15,7 +15,7 @@ module Unicorn::Util def self.chown_logs(uid, gid) ObjectSpace.each_object(File) do |fp| - fp.chown(uid, gid) if is_log?(fp) + fp.chown(uid, gid) if is_log?(fp)&& fp.path != "/...