From edf1c07498fca80e09579586aaa4dda914f088b5 Mon Sep 17 00:00:00 2001 From: namilsk Date: Mon, 2 Feb 2026 22:33:30 +0300 Subject: Fixed `.unwrap()` call in units.rs, fixed all clippy warnings, refactor child exit-status check --- init/src/host/locale.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init/src/host') 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) -> Result<(), Box> { let loc = match locale { -- cgit v1.2.3