Skip to content

Commit

Permalink
dep: update sysinfo to 0.31
Browse files Browse the repository at this point in the history
  • Loading branch information
sisungo committed Aug 24, 2024
1 parent c98ce58 commit bf039f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airupfx/airupfx-env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false

[dependencies]
cfg-if = "1"
sysinfo = "0.30"
sysinfo = "0.31"
tokio = { workspace = true }

[target.'cfg(target_family = "unix")'.dependencies]
Expand Down
5 changes: 2 additions & 3 deletions airupfx/airupfx/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ where
if let Err(err) = shell().await {
tracing::error!(target: "console", "Failed to start `/bin/sh`: {err}");
}
if let Err(err) = crate::process::reload_image() {
tracing::error!(target: "console", "Failed to reload `airupd` process image: {err}");
}
let Err(err) = crate::process::reload_image();
tracing::error!(target: "console", "Failed to reload `airupd` process image: {err}");
}
} else {
std::process::exit(1);
Expand Down

0 comments on commit bf039f9

Please sign in to comment.