projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4785dc6
)
Delete temporary DNS cache file before running, as otherwise Webalizer can hang!
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 26 Sep 2007 21:19:36 +0000
(21:19 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 26 Sep 2007 21:19:36 +0000
(21:19 +0000)
webalizer/webalizer-lib.pl
patch
|
blob
|
history
diff --git
a/webalizer/webalizer-lib.pl
b/webalizer/webalizer-lib.pl
index
bf1102c
..
7a13262
100644
(file)
--- a/
webalizer/webalizer-lib.pl
+++ b/
webalizer/webalizer-lib.pl
@@
-179,6
+179,7
@@
if ($lconf->{'over'} && !&is_readonly_mode()) {
unlink("$lconf->{'dir'}/webalizer.current");
unlink("$lconf->{'dir'}/webalizer.hist");
}
+unlink("$lconfig->{'dir'}/__db.dns_cache.db");
local $user = $lconf->{'user'} || "root";
if ($user ne "root" && -r $cfile) {
chmod(0644, $cfile);