X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/8650c486663161fc96e7aa837709971b8a02359d..4974d6710103d2c5c0b61817b29739b5f8fbc4be:/bin/pinentry?ds=inline 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