summaryrefslogtreecommitdiff
path: root/init/src/host
diff options
context:
space:
mode:
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 {