aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 | \