mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-28 05:14:17 +00:00
typo: openbad > openbsd (#12484)
Some checks failed
Some checks failed
This commit is contained in:
parent
4e7680e322
commit
1f2f5a41d4
@ -465,7 +465,7 @@ fn ui_parent(
|
||||
fn child(su_user: Option<String>, args: Vec<String>) -> ResultType<()> {
|
||||
// https://doc.rust-lang.org/std/env/consts/constant.OS.html
|
||||
let os = std::env::consts::OS;
|
||||
let bsd = os == "freebsd" || os == "dragonfly" || os == "netbsd" || os == "openbad";
|
||||
let bsd = os == "freebsd" || os == "dragonfly" || os == "netbsd" || os == "openbsd";
|
||||
let mut params = vec!["sudo".to_string()];
|
||||
if su_user.is_some() {
|
||||
params.push("-S".to_string());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user