From 151aa7187a56826892fe4332fad16ea8adee0c2e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 21 Jun 2021 23:38:46 -0300 Subject: src/git-permalink.sh: Suppress warnings when running "locale" --- src/git-permalink.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git-permalink.sh b/src/git-permalink.sh index f894b62..3b9a466 100755 --- a/src/git-permalink.sh +++ b/src/git-permalink.sh @@ -62,7 +62,7 @@ MSG_OPEN=\$MSG_OPEN_$lang get_lang() { # LC_MESSAGES="ll_CC.CODESET@modifier" -> ll_CC, where quotes are optional - locale | \ + locale 2>/dev/null | \ grep LC_MESSAGES | \ cut -d. -f1 | \ cut -d\" -f2 | \ -- cgit v1.2.3