brew.sh: don't suppress stderr for 'locale charmap'

Co-authored-by: Shaun Jackman <sjackman@gmail.com>
This commit is contained in:
Maxim Belkin 2020-08-13 17:08:06 -05:00 committed by GitHub
parent bab43d4cc8
commit d33691dcdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ esac
if ! command -v locale >/dev/null
then
export LC_ALL=C
elif [[ "$(locale charmap 2>/dev/null)" != "UTF-8" ]]
elif [[ "$(locale charmap)" != "UTF-8" ]]
then
if [[ -n "$HOMEBREW_MACOS" ]]
then