Permalink
Browse files

Fix bug in calculating mtime for a zone using include but not json files

  • Loading branch information...
1 parent 16bfa3e commit 1959fbd37d3317548eefbdf27763bede61f4aa99 @abh committed Sep 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/GeoDNS.pm
View
@@ -462,6 +462,9 @@ sub _read_config {
or die "Can't open config file: $file: $!\n";
push @{ $config->{config_file_stack} }, $file;
+ if (my $base = $config->{base}) {
+ push @{$config->{bases}->{$base}->{files}}, $file;
+ }
$config->{files}->{$file} = (stat($file))[9];

0 comments on commit 1959fbd

Please sign in to comment.