diff options
author | Ermal <eri@pfsense.org> | 2011-09-28 22:59:45 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-09-28 23:48:18 +0000 |
commit | aa690c34f27d30ad6537b37284eaaf7b7121b2bf (patch) | |
tree | a3329f27daed764d52a6704d197b2f0eed998e1d /etc | |
parent | b1b42a065cd5c6bf867d6a12371379ff2ddbed85 (diff) | |
download | pfsense-aa690c34f27d30ad6537b37284eaaf7b7121b2bf.zip pfsense-aa690c34f27d30ad6537b37284eaaf7b7121b2bf.tar.gz |
Correctly check if it is a valid object or not
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.filter_synchronize | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize index 71803f2..40d5c84 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -408,7 +408,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", ""); |