diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-11 14:22:20 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-11 14:22:20 +0200 |
| commit | dc3905e12f497e846dff7ab6345b0c90d3fab22f (patch) | |
| tree | 718f87671ac47e86e90a1f74de9a1dd014e6caad /security/pinentry-emacs/files/patch-pinentry-emacs | |
| parent | 4467e7c74d92971435a45a8658a492fcad4784fd (diff) | |
| download | ports-dc3905e12f497e846dff7ab6345b0c90d3fab22f.tar.gz | |
security/pinentry-emacs: add custom pinentry-emacs port
Diffstat (limited to 'security/pinentry-emacs/files/patch-pinentry-emacs')
| -rw-r--r-- | security/pinentry-emacs/files/patch-pinentry-emacs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/pinentry-emacs/files/patch-pinentry-emacs b/security/pinentry-emacs/files/patch-pinentry-emacs new file mode 100644 index 0000000..923dec5 --- /dev/null +++ b/security/pinentry-emacs/files/patch-pinentry-emacs @@ -0,0 +1,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 |
