X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/30cffb9546e2e00f1dad83344bae014b1ad594c6..ec83dc0c32145411905204309a6eadfbfa3e17b3:/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