diff options
author | EuAndreh <eu@euandre.org> | 2021-06-21 23:38:46 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-21 23:38:46 -0300 |
commit | 151aa7187a56826892fe4332fad16ea8adee0c2e (patch) | |
tree | 84c30997f4d7efea4752e39f4645849bff05038f /src/git-permalink.sh | |
parent | aux/guix/manifest.scm: Add glibc for the "locale" command (diff) | |
download | git-permalink-151aa7187a56826892fe4332fad16ea8adee0c2e.tar.gz git-permalink-151aa7187a56826892fe4332fad16ea8adee0c2e.tar.xz |
src/git-permalink.sh: Suppress warnings when running "locale"
Diffstat (limited to 'src/git-permalink.sh')
-rwxr-xr-x | src/git-permalink.sh | 2 |
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 | \ |