mirror of
https://github.com/jaygooby/ttfb.sh.git
synced 2026-10-24 14:01:15 +02:00
Silence the locale check
This commit is contained in:
1 parent
918d0cfd41
commit
07bfb15adf
1 file changed
+1
-1
@@ -67,7 +67,7 @@ done
|
||||
|
||||
# Ensure curl uses period separators for floating point values, which
|
||||
# bc requires to do calculations (i.e. it can't use locale separators like ,)
|
||||
if (locale -a | egrep ^C.UTF-8$); then
|
||||
if (locale -a | egrep ^C.UTF-8$ > /dev/null); then
|
||||
export LC_ALL=C.UTF-8
|
||||
else
|
||||
export LC_ALL=C
|
||||
|
||||
Reference in new issue
Block a user