summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-xetc/rc.filter_synchronize2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index a76d15b..b98b683 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -406,7 +406,7 @@ if (is_array($config['installedpackages']['carpsettings']) && is_array($config['
$cli->setCredentials($username, $carp['password']);
$resp = $cli->send($msg, "900");
- if(!$resp) {
+ if(!is_object($resp)) {
$error = "A communications error occured while attempting Filter sync with username {$username} {$synchronizetoip}:{$port}.";
log_error($error);
file_notice("sync_settings", $error, "Settings Sync", "");
OpenPOWER on IntegriCloud