diff --git a/src/haproxy.c b/src/haproxy.c index 69f4f20b4..aa865f0f8 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -2010,7 +2010,7 @@ static void init(int argc, char **argv) break; for (px = proxies_list; px; px = px->next) - if (px->state == PR_STNEW && !LIST_ISEMPTY(&px->conf.listeners)) + if (px->state != PR_STSTOPPED && px->li_all) break; if (pr || px) {