aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/keychain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d/keychain.sh')
-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 a3659c60..711c8286 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -1,6 +1,6 @@
# ssh-askpass setup
if command -v ssh-askpass >/dev/null 2>&1; then
- SSH_ASKPASS="$(which ssh-askpass)"
+ SSH_ASKPASS="$(command -v ssh-askpass)"
export SSH_ASKPASS
fi