diff options
author | Fredrik Salomonsson <plattfot@gmail.com> | 2020-05-01 15:58:46 -0700 |
---|---|---|
committer | Fredrik Salomonsson <plattfot@gmail.com> | 2020-05-01 15:58:46 -0700 |
commit | 2492961ddbb61fee7abefba4943ed19d3e5d18e5 (patch) | |
tree | 73df43202e6cccb60144ddaf51dc17968d3c99c3 | |
parent | 908a4829872b7fcd5d2dc57d5b1a5142d75166e7 (diff) | |
download | pinentry-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'.
-rwxr-xr-x | pinentry-rofi.scm | 4 |
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:" |