mirror of
https://github.com/webmin/webmin.git
synced 2026-06-21 11:50:25 +01:00
Really clear custom temp dir if asked
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user