diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-09-24 13:53:17 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-09-24 13:53:17 -0400 |
commit | e8c2a77f53d65fed90af9fc9c62380fa9c81f858 (patch) | |
tree | fcdc51bd5d28420602612dda92f7eb9d0e675e3d /src | |
parent | f0809079e6ee032ccdde670ca67a9704f531de1b (diff) |
avoid noisy warning message when ssh-askpass not available
Diffstat (limited to 'src')
-rw-r--r-- | src/share/common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/common b/src/share/common index 87a30be..4aa3f7c 100644 --- 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" |