From e85212d9a9d4dd012c99a3fb13ace99528d4cede Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 16 Apr 2007 23:09:14 +0000 Subject: 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(-) (limited to 'etc/inc/pfsense-utils.inc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index ca0a7aa..e155eac 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: -- cgit v1.1