summaryrefslogtreecommitdiff
path: root/scripts/pinentry-auto
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pinentry-auto')
-rwxr-xr-xscripts/pinentry-auto3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/pinentry-auto b/scripts/pinentry-auto
index 54e59c2..66ca97c 100755
--- a/scripts/pinentry-auto
+++ b/scripts/pinentry-auto
@@ -7,8 +7,7 @@ if [ -z "$exists" ]; then
PATH="/run/current-system/sw/bin/:"$PATH
fi
-
-if pgrep -x 'X|Xorg' > /dev/null; then
+if pgrep -x 'X|Xorg' >/dev/null; then
/home/"$USER"/bin/pinentry-dmenu "$@"
else
pinentry-curses "$@"