X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/d569f3f7ac829693addfdc8ed656e70d80d7d467..4be2bcd2e2f69ffa226d75f6e06ca2280a164cee:/bin/pinentry diff --git a/bin/pinentry b/bin/pinentry index 3101bc6..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