From 20ed91497c731be7e0981478e4449c833d735ceb Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Wed, 7 May 2014 20:35:27 -0700 Subject: [PATCH] Do not swallow unexpected errors when reaping I can't imagine this wasn't what was intended here. Might be a merge artifact but I can't trace it. Thanks to Antti Kaihola (@akaihola) for spotting this. Close #733 --- gunicorn/arbiter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index bd2016d2..982b5312 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -463,8 +463,8 @@ class Arbiter(object): continue worker.tmp.close() except OSError as e: - if e.errno == errno.ECHILD: - pass + if e.errno != errno.ECHILD: + raise def manage_workers(self): """\