aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index 0cfad1df..f899cebd 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -255,7 +255,7 @@ function tinydns_create_zone_file() {
config_lock();
if(file_exists("/service/tinydns/root/data"))
exec("rm -f /service/tinydns/root/data");
- if(!isdir("/service/tinydns/root"))
+ if(!is_dir("/service/tinydns/root"))
return;
$fd = fopen("/service/tinydns/root/data", "w");
if(!$fd) {