From 2492961ddbb61fee7abefba4943ed19d3e5d18e5 Mon Sep 17 00:00:00 2001 From: Fredrik Salomonsson Date: Fri, 1 May 2020 15:58:46 -0700 Subject: Fixed bug with not reaching BYE Was not returning the regex-match object correctly for `pinentry-seterror' so it was never calling `pinentry-bye'. --- pinentry-rofi.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pinentry-rofi.scm') 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:" -- cgit