From e8ca2998b92fd929351ff58d1ba670304b9c6c89 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Sat, 4 Jul 2015 11:28:37 +0200 Subject: [PATCH] improved debugging for pinentry execution --- tomb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tomb b/tomb index 7df2000..a168454 100755 --- a/tomb +++ b/tomb @@ -377,10 +377,12 @@ ask_password() { # make sure LANG is set, default to C LANG=${LANG:-C} + _verbose "asking password with tty=$TTY lc-ctype=$LANG" + if [[ "$DISPLAY" = "" ]]; then if _is_found "pinentry-curses"; then - + _verbose "using pinentry-curses" output=`cat <