summaryrefslogtreecommitdiff
path: root/src/share/common
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-27 18:02:49 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-27 18:02:49 -0400
commit0fded72147e60d7193c393e6de68493258501e7a (patch)
treeccce57b7e59333c8bed5b2e8800a52084e20fe06 /src/share/common
parented615ab0a3f06f102661eae5d399f206bc6afeff (diff)
trying to make m gen-subkey more responsive in the face of errors, and clearer to the user about what is going on.
Diffstat (limited to 'src/share/common')
-rw-r--r--src/share/common2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/common b/src/share/common
index d6e4949..c8d44f6 100644
--- a/src/share/common
+++ b/src/share/common
@@ -304,6 +304,8 @@ passphrase_prompt() {
local PASS
if [ "$DISPLAY" ] && which "${SSH_ASKPASS:-ssh-askpass}" >/dev/null; then
+ printf 'Launching "%s"\n' "${SSH_ASKPASS:-ssh-askpass}" | log info
+ printf '(with prompt "%s")\n' "$prompt" | log debug
"${SSH_ASKPASS:-ssh-askpass}" "$prompt" > "$fifo"
else
read -s -p "$prompt" PASS