From 52529f16fdd4647f76e3a09fd177f0ec58ba8878 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sun, 2 Apr 2023 03:08:57 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20locale=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.cpp b/src/utils.cpp index c495f45..faa1bed 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -2169,7 +2169,7 @@ void final_check() noexcept { //[[ ! -e /mnt/.video_installed ]] && echo "- $_GCCheck" >> ${CHECKLIST} // Check if locales have been generated - if (utils::to_int(utils::exec(fmt::format(FMT_COMPILE("arch-chroot {} locale -a | wc -l"), mountpoint), true)) < 3) { + if (utils::to_int(utils::exec(fmt::format(FMT_COMPILE("arch-chroot {} locale -a | wc -l"), mountpoint), false)) < 3) { checklist += "- Locales have not been generated\n"; }