diff options
author | Ermal <eri@pfsense.org> | 2011-06-14 13:00:04 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-06-14 13:00:04 +0000 |
commit | fb5830ef33f6e1154f3441d7f13ac90bbe547b3c (patch) | |
tree | 928992f415932f3d63a31c3458a31adfe19bfb05 /etc/rc.filter_synchronize | |
parent | b526daafae3405b27fa7219d90a81272d0979f57 (diff) | |
download | pfsense-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-x | etc/rc.filter_synchronize | 4 |
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"); |