Skip to content

Commit

Permalink
Merge branch 'main' of github.com:sisungo/airup
Browse files Browse the repository at this point in the history
Merge `sisungo:main` to `sisungo:main`
  • Loading branch information
sisungo committed Aug 25, 2024
2 parents f981e6b + bf039f9 commit e0897ed
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 e0897ed

Please sign in to comment.