core: 修复非英文环境下无法获得硬盘 id

This commit is contained in:
bin456789 2024-02-24 15:06:24 +08:00
parent 85434ae7a4
commit 7fe9738921
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -5,6 +5,9 @@ set -eE
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
github_proxy=raw.gitmirror.com
# https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html
export LC_ALL=C
this_script=$(realpath "$0")
trap 'trap_err $LINENO $?' ERR