Skip to content

Commit

Permalink
(filter.inc) simply check if not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Sep 8, 2016
1 parent 6c72240 commit 0e158f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/filter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function filter_configure()
*/
if (!file_exists("/var/run/booting")) {
configd_run('filter reload');
if ( isset($config['hasync']['synchronizetoip']) && trim($config['hasync']['synchronizetoip']) != "") {
if ( !empty($config['hasync']['synchronizetoip'])) {
configd_run('filter sync restart');
}
}
Expand Down

0 comments on commit 0e158f0

Please sign in to comment.