From a210b68ca96449554892c3d28117331a89952627 Mon Sep 17 00:00:00 2001 From: thompsa Date: Fri, 23 Apr 2010 12:20:13 +1200 Subject: Fix copy-n-paste error where the continue statement is now a return. --- config/haproxy-stable/haproxy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/haproxy-stable') diff --git a/config/haproxy-stable/haproxy.inc b/config/haproxy-stable/haproxy.inc index 5cc61e4b..eb45f21d 100644 --- a/config/haproxy-stable/haproxy.inc +++ b/config/haproxy-stable/haproxy.inc @@ -160,7 +160,7 @@ function haproxy_find_acl($name) { function write_backend($fd, $name, $pool, $frontend) { if($pool['status'] != 'active' || !is_array($pool['ha_servers']['item'])) - continue; + return; fwrite ($fd, "backend " . $name . "\n"); if($pool['cookie_name'] && strtolower($frontend['type']) == "http") -- cgit v1.2.3