summaryrefslogtreecommitdiff
path: root/init/src/host
diff options
context:
space:
mode:
authornamilsk <namilsk@namilsk.tech>2026-02-02 22:33:30 +0300
committernamilsk <namilsk@namilsk.tech>2026-02-02 22:33:30 +0300
commitedf1c07498fca80e09579586aaa4dda914f088b5 (patch)
tree020d29bbb41c2b65548293783610252f10c3b02a /init/src/host
parent913da896fcc161b138932655c3c7864cbde3d6a7 (diff)
Fixed `.unwrap()` call in units.rs, fixed all clippy warnings, refactor child exit-status check
Diffstat (limited to 'init/src/host')
-rw-r--r--init/src/host/locale.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/src/host/locale.rs b/init/src/host/locale.rs
index 3d9b11d..9ce0a3c 100644
--- a/init/src/host/locale.rs
+++ b/init/src/host/locale.rs
@@ -13,9 +13,9 @@ use std::process::Command;
///
/// Logic && Checks
/// 1. Reading /etc/default/locale to find needed language.
-/// If it broken/has syntax errors skipping this step
+/// If it broken/has syntax errors skipping this step
/// 2. Checking for locale avalible (also switching `-` and `_`),
-/// if not uses fallback locale.
+/// If not uses fallback locale.
///
pub fn set_locale(locale: Option<String>) -> Result<(), Box<dyn std::error::Error>> {
let loc = match locale {