summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-06-14 13:00:04 +0000
committerErmal <eri@pfsense.org>2011-06-14 13:00:04 +0000
commitfb5830ef33f6e1154f3441d7f13ac90bbe547b3c (patch)
tree928992f415932f3d63a31c3458a31adfe19bfb05 /etc/rc.filter_synchronize
parentb526daafae3405b27fa7219d90a81272d0979f57 (diff)
downloadpfsense-fb5830ef33f6e1154f3441d7f13ac90bbe547b3c.zip
pfsense-fb5830ef33f6e1154f3441d7f13ac90bbe547b3c.tar.gz
Actually correct check so it throws some errors during the second try.
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-xetc/rc.filter_synchronize4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index 460824b..c479054 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -104,7 +104,7 @@ function carp_check_version($url, $password, $port = 80, $method = 'pfsense.host
/* XXX: Configurable from the GUI?! */
$username = "admin";
$cli->setCredentials($username, $password);
- if($numberofruns > 1)
+ if($numberofruns > 0)
$cli->setDebug(1);
/* send our XMLRPC message and timeout after 240 seconds */
$resp = $cli->send($msg, "240");
@@ -239,7 +239,7 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens
/* XXX: Configurable from the GUI?! */
$username = "admin";
$cli->setCredentials($username, $password);
- if($numberofruns > 1)
+ if($numberofruns > 0)
$cli->setDebug(1);
/* send our XMLRPC message and timeout after 240 seconds */
$resp = $cli->send($msg, "240");
OpenPOWER on IntegriCloud