aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-23 11:26:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-23 11:26:43 +1200
commit7071fba5e74b1372148e2300cab0087f81a08981 (patch)
treea8936a7e6574cca3a40eef5d9766e1612de2f654
parentUpdate README to reflect new prompt behaviour (diff)
downloaddotfiles-7071fba5e74b1372148e2300cab0087f81a08981.tar.gz
dotfiles-7071fba5e74b1372148e2300cab0087f81a08981.zip
Correct stderr redirection for keychain(1) check
-rw-r--r--sh/profile.d/keychain.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh
index 66c23d32..542bd02e 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -1,5 +1,5 @@
# ssh-askpass setup
-[ -n "${SSH_ASKPASS:="$(command -v ssh-askpass 2>&1)"}" ] &&
+[ -n "${SSH_ASKPASS:="$(command -v ssh-askpass 2>/dev/null)"}" ] &&
export SSH_ASKPASS
# keychain setup