Merge pull request #1457 from IvanI3/patch-1

Unset LANG in status monitor script like @ /etc/webmin/start script
This commit is contained in:
Jamie Cameron
2021-03-10 21:00:43 -08:00
committed by GitHub

View File

@@ -6,6 +6,7 @@ $no_acl_check++;
delete($ENV{'FOREIGN_MODULE_NAME'});
delete($ENV{'SCRIPT_NAME'});
delete($ENV{'SERVER_ROOT'});
delete($ENV{'LANG'});
require './status-lib.pl';
# Check if the monitor should be run now