mirror of
https://github.com/webmin/webmin.git
synced 2026-02-10 17:22:04 +00:00
Handle nested clean calls
This commit is contained in:
@@ -7190,7 +7190,9 @@ reset_environment.
|
||||
=cut
|
||||
sub clean_language
|
||||
{
|
||||
%UNCLEAN_ENV = %ENV;
|
||||
if (!%UNCLEAN_ENV) {
|
||||
%UNCLEAN_ENV = %ENV;
|
||||
}
|
||||
$ENV{'LANG'} = '';
|
||||
$ENV{'LANGUAGE'} = '';
|
||||
$ENV{'LC_ALL'} = '';
|
||||
|
||||
Reference in New Issue
Block a user