This commit is contained in:
rustdesk
2023-02-08 17:07:27 +08:00
parent e2f4962ba8
commit 6ec46cb95f
3 changed files with 3 additions and 6 deletions

View File

@@ -288,7 +288,7 @@ fn patch(path: PathBuf) -> PathBuf {
.trim()
.to_owned();
if user != "root" {
return format!("/home/{}", user).into();
return format!("/home/{user}").into();
}
}
}