mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix build issue from new version of system, another try at CI.
This commit is contained in:
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@@ -30,4 +30,4 @@ jobs:
|
||||
- name: Install tools
|
||||
run: pushd src/rust; cargo install cargo-outdated; popd
|
||||
- name: Check for outdated dependencies
|
||||
run: pushd src/rust; cargo outdated -w --color=always --root-deps-only --exit-code 1 -v
|
||||
script: cd src/rust; cargo outdated -w --color=always --root-deps-only --exit-code 1
|
||||
|
||||
@@ -40,7 +40,7 @@ impl FileLock {
|
||||
let pid: i32 = contents.parse()?;
|
||||
|
||||
let sys = System::new_all();
|
||||
if let Some(process) = sys.processes().get(&Pid::from(pid)) {
|
||||
if let Some(process) = sys.processes().get(pid) {
|
||||
if process.name().contains("lqosd") {
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user