mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
system: update debug log
Co-authored-by: bloxx12 <charlie@charlieroot.dev>
This commit is contained in:
parent
e9e1df90e6
commit
496f5a7f35
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ impl System {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_desktop(&mut self) -> anyhow::Result<bool> {
|
fn is_desktop(&mut self) -> anyhow::Result<bool> {
|
||||||
log::debug!("checking chassis type to determine if we are a desktop");
|
log::debug!("checking chassis type to determine if system is a desktop");
|
||||||
if let Some(chassis_type) = fs::read("/sys/class/dmi/id/chassis_type")
|
if let Some(chassis_type) = fs::read("/sys/class/dmi/id/chassis_type")
|
||||||
.context("failed to read chassis type")?
|
.context("failed to read chassis type")?
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue