summaryrefslogtreecommitdiff
path: root/security/pinentry-emacs/files/patch-pinentry-emacs
blob: 923dec5d673247b0912c39c1736e1d5e175134d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- pinentry-emacs.orig	2026-07-11 14:01:00 UTC
+++ pinentry-emacs
@@ -31,7 +31,8 @@
             RES=$(emacsclient -e "(pinentry-emacs \"$DESC\" \"$PROMPT\" \"$OK\" \"$ERROR\")" | sed -e 's/^"//' -e 's/"$//')
             if [ $? -ne 0 ]
             then
-                RES=$(lukspinentry)
+                echo ERR 83886179 Operation cancelled
+                exit 1
             fi
             echo D $RES
             echo OK