From ac96e10131a8e681af2d926b46e098a401c139a2 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Wed, 9 Oct 2024 08:41:11 +0200 Subject: Revert "Don't echo message on BYE" (Closes: #7) This follows the spec and what other pinentry implementation do. This reverts commit 4f5ed2ab1256af9b41a94091cdea5cf7c2eaa341. --- anypinentry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anypinentry b/anypinentry index 438259c..8808939 100755 --- a/anypinentry +++ b/anypinentry @@ -157,7 +157,7 @@ interpret_command() { NOP) ;; CANCEL) not_implemented_error ;; OPTION) save_option "$data" ;; - BYE) exit 0 ;; + BYE) echo "OK closing connection"; exit 0 ;; AUTH) not_implemented_error ;; RESET) reset ;; END) not_implemented_error ;; -- cgit v1.3.1