diff --git a/common/base.sh b/common/base.sh index 0be2614..a425140 100644 --- a/common/base.sh +++ b/common/base.sh @@ -241,7 +241,7 @@ fix_sbin_path() # it can calculate floating point expr calc() { - awk "BEGIN { print $*}"; + LC_ALL=C awk "BEGIN { print $*}"; } fsleep_setup()