From c6f1911686c5c19eaa841a539f90aeff834b9212 Mon Sep 17 00:00:00 2001 From: Unbit Date: Wed, 11 Jun 2014 09:18:26 +0200 Subject: [PATCH] fixed #649 --- core/master_checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/master_checks.c b/core/master_checks.c index 2f35c32f..2fea5ed3 100644 --- a/core/master_checks.c +++ b/core/master_checks.c @@ -52,7 +52,7 @@ void uwsgi_master_check_chain() { int i; for(i=uwsgi.status.chain_reloading;i<=uwsgi.numproc;i++) { struct uwsgi_worker *uw = &uwsgi.workers[i]; - if (uw->pid > 0 && !uw->cheaped) { + if (uw->pid > 0 && !uw->cheaped && uw->accepting) { if (uw->cursed_at == 0) { uwsgi_curse(i, SIGHUP); }