diff options
Diffstat (limited to 'etc')
-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 7a4f1e1..0d9ee01 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -118,7 +118,7 @@ function carp_check_version($url, $password, $port = 80, $method = 'pfsense.host if (trim($parsed_response) == "Authentication failed") { $error = "A authentication failure occurred while trying to access {$url}:{$port} ({$method})."; log_error($error); - return false; + exit; } } else { if (!isset($parsed_response['config_version']) || @@ -253,7 +253,7 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens if(!is_array($parsed_response) && trim($parsed_repsonse) == "Authentication failed") { $error = "A authentication failure occurred while trying to access {$url}:{$port} ($method)."; log_error($error); - break; + exit; } else log_error("XMLRPC sync successfully completed with {$url}:{$port}."); $numberofruns = 3; |