aboutsummaryrefslogtreecommitdiffstats
path: root/pinentry-rofi.scm
diff options
context:
space:
mode:
authorFredrik Salomonsson <plattfot@gmail.com>2020-05-01 15:58:46 -0700
committerFredrik Salomonsson <plattfot@gmail.com>2020-05-01 15:58:46 -0700
commit2492961ddbb61fee7abefba4943ed19d3e5d18e5 (patch)
tree73df43202e6cccb60144ddaf51dc17968d3c99c3 /pinentry-rofi.scm
parent908a4829872b7fcd5d2dc57d5b1a5142d75166e7 (diff)
downloadpinentry-rofi-2492961ddbb61fee7abefba4943ed19d3e5d18e5.tar.gz
Fixed bug with not reaching BYE
Was not returning the regex-match object correctly for `pinentry-seterror' so it was never calling `pinentry-bye'.
Diffstat (limited to 'pinentry-rofi.scm')
-rwxr-xr-xpinentry-rofi.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/pinentry-rofi.scm b/pinentry-rofi.scm
index 5afb98f..46ba157 100755
--- a/pinentry-rofi.scm
+++ b/pinentry-rofi.scm
@@ -122,8 +122,8 @@ touch-file=/run/user/1000/gnupg/S.gpg-agent"
(regex-match #f))
(when (set-and-return! regex-match (regexp-exec seterror-re line))
(let ((mesg (hex->char (html-< (match:substring regex-match 1)))))
- (set-pinentry-error! pinentry mesg))
- regex-match)))
+ (set-pinentry-error! pinentry mesg)))
+ regex-match))
(define (pinentry-setprompt pinentry line)
"SETPROMPT Passphrase:"