From 7071fba5e74b1372148e2300cab0087f81a08981 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 23 Aug 2016 11:26:43 +1200 Subject: Correct stderr redirection for keychain(1) check --- sh/profile.d/keychain.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/profile.d') 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 -- cgit v1.2.3