mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-15 11:11:17 +00:00
Overwite LC_ALL instead of LANG
This also works when user sets LC_ environment variables.
This commit is contained in:
parent
d405237d0c
commit
329351e200
@ -212,7 +212,7 @@ sub run_command {
|
||||
my $orig_pid = $$;
|
||||
|
||||
eval {
|
||||
local $ENV{LANG} = $lang;
|
||||
local $ENV{LC_ALL} = $lang;
|
||||
|
||||
# suppress LVM warnings like: "File descriptor 3 left open";
|
||||
local $ENV{LVM_SUPPRESS_FD_WARNINGS} = "1";
|
||||
|
Loading…
Reference in New Issue
Block a user