aboutsummaryrefslogtreecommitdiff
path: root/src/git-permalink.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-21 23:38:46 -0300
committerEuAndreh <eu@euandre.org>2021-06-21 23:38:46 -0300
commit151aa7187a56826892fe4332fad16ea8adee0c2e (patch)
tree84c30997f4d7efea4752e39f4645849bff05038f /src/git-permalink.sh
parentaux/guix/manifest.scm: Add glibc for the "locale" command (diff)
downloadgit-permalink-151aa7187a56826892fe4332fad16ea8adee0c2e.tar.gz
git-permalink-151aa7187a56826892fe4332fad16ea8adee0c2e.tar.xz
src/git-permalink.sh: Suppress warnings when running "locale"
Diffstat (limited to '')
-rwxr-xr-xsrc/git-permalink.sh2
1 files changed, 1 insertions, 1 deletions
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 | \