summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/unbound.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/unbound.inc b/etc/inc/unbound.inc
index 3e53698..2305592 100644
--- a/etc/inc/unbound.inc
+++ b/etc/inc/unbound.inc
@@ -470,7 +470,7 @@ function unbound_add_domain_overrides($pvt_rev="") {
}
}
- if ($pvt_rev == true)
+ if ($pvt_rev != "")
return $domain_entries;
else
file_put_contents("{$g['unbound_chroot_path']}/domainoverrides.conf", $domain_entries);
OpenPOWER on IntegriCloud