From d48ccbcd65b83cda8895b4270838927dd8bfffab Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 16 Apr 2007 23:09:24 +0000 Subject: [PATCH] Correctly note the filter configure item when removing the schedule feature from cron --- etc/inc/pfsense-utils.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 76afe10ffd..908300af42 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -63,8 +63,9 @@ function tdr_install_cron($should_install) { foreach($config['cron']['item'] as $item) { if(strstr($item['command'], "filter_configure_sync")) { $is_installed = true; - $x++; + break; } + $x++; } switch($should_install) { case true: