projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b76fbc2
)
Really clear custom temp dir if asked
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 2 Oct 2007 17:57:35 +0000
(17:57 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 2 Oct 2007 17:57:35 +0000
(17:57 +0000)
cron/tempdelete.pl
patch
|
blob
|
history
diff --git
a/cron/tempdelete.pl
b/cron/tempdelete.pl
index
fe1f1b1
..
41deeb2
100644
(file)
--- a/
cron/tempdelete.pl
+++ b/
cron/tempdelete.pl
@@
-14,7
+14,7
@@
if (!$gconfig{'tempdelete_days'}) {
print "Temp file clearing is disabled\n";
exit(0);
}
-if ($gconfig{'tempdir'}) {
+if ($gconfig{'tempdir'}
&& !$gconfig{'tempdirdelete'}
) {
print "Temp file clearing is not done for the custom directory $gconfig{'tempdir'}\n";
exit(0);
}