projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f080907
)
avoid noisy warning message when ssh-askpass not available
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 24 Sep 2009 17:53:17 +0000
(13:53 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 24 Sep 2009 17:53:17 +0000
(13:53 -0400)
src/share/common
patch
|
blob
|
history
diff --git
a/src/share/common
b/src/share/common
index 87a30be2926865296bac39535da38d92d9711b5f..4aa3f7ce14857b60390a2c2da02bf1cabddaeee7 100644
(file)
--- a/
src/share/common
+++ b/
src/share/common
@@
-310,7
+310,7
@@
passphrase_prompt() {
local fifo="$2"
local PASS
- if [ "$DISPLAY" ] && type "${SSH_ASKPASS:-ssh-askpass}" >/dev/null; then
+ if [ "$DISPLAY" ] && type "${SSH_ASKPASS:-ssh-askpass}" >/dev/null
2>/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"