From 181103bc56e67ab948f365767dbb862e6188d37f Mon Sep 17 00:00:00 2001 From: Jaromil Date: Thu, 29 Jan 2015 18:11:25 +0100 Subject: [PATCH] Make pinentry work even if LANG env var is not set (default to C, fix #188) --- tomb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tomb b/tomb index a9fe658..0ffec16 100755 --- a/tomb +++ b/tomb @@ -364,6 +364,9 @@ ask_password() { # own fallback mechanisms. Pinentry supported: curses, gtk-2, qt4 # and x11. + # make sure LANG is set, default to C + LANG=${LANG:-C} + if [[ "$DISPLAY" = "" ]]; then if _is_found "pinentry-curses"; then