]> git.sev.monster Git - dotfiles.git/blobdiff - bin/pinentry
replace which with command, remove ref to .fehbg
[dotfiles.git] / bin / pinentry
index 3101bc6d6cbc85813264ae08e8f610611655027b..0bd1062bddde4ee4a6b99a7edb1ebf5d682e3397 100755 (executable)
@@ -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
This page took 0.030617 seconds and 4 git commands to generate.