X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/8650c486663161fc96e7aa837709971b8a02359d..5b9a654a39e6b0e14c5b0bd61227931213f4fd3f:/bin/pinentry?ds=sidebyside diff --git a/bin/pinentry b/bin/pinentry index 52fd48a..0bd1062 100755 --- a/bin/pinentry +++ b/bin/pinentry @@ -11,7 +11,7 @@ case "${PINENTRY_USER_DATA-}" in esac for x in $list; do - p=which "pinentry-$x" 2>/dev/null + p=$(command -v "pinentry-$x") 2>/dev/null if [ $? = 0 ]; then exec "$p" "$@" fi