mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
fix gtk-sudo in non-English linux (#9680)
change LC_ALL from C.UTF-8 to C Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
ae8dfe84a0
commit
defb3e6c73
@ -505,7 +505,7 @@ fn child(su_user: Option<String>, args: Vec<String>) -> ResultType<()> {
|
||||
command = format!("'{}'", quote_shell_arg(&command, false));
|
||||
}
|
||||
params.push(command);
|
||||
std::env::set_var("LC_ALL", "C.UTF-8");
|
||||
std::env::set_var("LC_ALL", "C");
|
||||
|
||||
if let Some(user) = &su_user {
|
||||
let su_subcommand = params
|
||||
|
Loading…
Reference in New Issue
Block a user