Fix to use /var/tmpas default temp dir instead of /var/cache (not rw by user)
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled

This commit is contained in:
Ilia Ross
2026-02-20 16:09:30 +02:00
parent 29c2c6f59d
commit 209a2cbbc3

View File

@@ -450,11 +450,9 @@ sub default_webmin_temp_dir
{
return -d "c:/temp"
? "c:/temp"
: -d "/var/cache"
? "/var/cache/webmin"
: -d "/var/tmp"
? "/var/tmp/webmin"
: "/tmp/.webmin";
: -d "/var/tmp"
? "/var/tmp/.webmin"
: "/tmp/.webmin";
}
=head2 tempname_dir()