Change scx check
This commit is contained in:
parent
77ba440a93
commit
5cbe0e8ef6
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "fedora-kernel-manager"
|
name = "fedora-kernel-manager"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
%define pkg_release 0.1.3
|
%define pkg_release 0.1.4
|
||||||
|
|
||||||
|
|
||||||
Name: fedora-kernel-manager
|
Name: fedora-kernel-manager
|
||||||
|
@ -609,8 +609,8 @@ fn create_current_sched_badge(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn is_scx_installed() -> bool {
|
fn is_scx_installed() -> bool {
|
||||||
match Command::new("rpm")
|
match Command::new("systemctl")
|
||||||
.args(["-q", "sched-ext-scx"])
|
.args(["status", "scx"])
|
||||||
.output() {
|
.output() {
|
||||||
Ok(t) if t.status.success() => true,
|
Ok(t) if t.status.success() => true,
|
||||||
_ => false
|
_ => false
|
||||||
|
Loading…
Reference in New Issue
Block a user