summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 3ea62b9..52203ba 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -365,10 +365,7 @@ impl Config {
}
pub fn sys_info(&self) -> Result<String> {
- let display_path = |path: &Path| {
- let state = if path.exists() { "" } else { " ⚠️" };
- format!("{}{state}", path.display())
- };
+ let display_path = |path: &Path| path.display().to_string();
let temperature = self
.temperature
.map_or_else(|| String::from("-"), |v| v.to_string());