From d33691dcdb6f986dd970265d0018b4ecaa16f0b9 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Thu, 13 Aug 2020 17:08:06 -0500 Subject: [PATCH] brew.sh: don't suppress stderr for 'locale charmap' Co-authored-by: Shaun Jackman --- Library/Homebrew/brew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 9af5397792..f985c3b7aa 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -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