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