typo: openbad > openbsd (#12484)
Some checks failed
CI / ${{ matrix.job.target }} (${{ matrix.job.os }}) (map[os:ubuntu-22.04 target:x86_64-unknown-linux-gnu]) (push) Has been cancelled
Full Flutter CI / run-ci (push) Has been cancelled
Flutter Nightly Build / run-flutter-nightly-build (push) Has been cancelled

This commit is contained in:
tschettervictor 2025-08-03 02:00:52 -06:00 committed by GitHub
parent 4e7680e322
commit 1f2f5a41d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());