mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue