aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Sprickerhof <git@jochen.sprickerhof.de>2024-10-09 08:41:11 +0200
committerJochen Sprickerhof <git@jochen.sprickerhof.de>2024-10-09 08:41:11 +0200
commitac96e10131a8e681af2d926b46e098a401c139a2 (patch)
tree74d1e2a47f92f432fad4feb3669ba1be669c3957
parent3302995faca21c4b003a517c4dae12ef8d7f7971 (diff)
downloadanypinentry-ac96e10131a8e681af2d926b46e098a401c139a2.tar.gz
anypinentry-ac96e10131a8e681af2d926b46e098a401c139a2.zip
Revert "Don't echo message on BYE" (Closes: #7)
This follows the spec and what other pinentry implementation do. This reverts commit 4f5ed2ab1256af9b41a94091cdea5cf7c2eaa341.
-rwxr-xr-xanypinentry2
1 files changed, 1 insertions, 1 deletions
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 ;;