From 6b38682d711fb74feddcc06c4da18f8e771858df Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 25 Jul 2020 04:33:51 -0400 Subject: implement rbw unlocked --- src/bin/rbw-agent/agent.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/bin/rbw-agent/agent.rs') diff --git a/src/bin/rbw-agent/agent.rs b/src/bin/rbw-agent/agent.rs index 2d9b08e..23f684b 100644 --- a/src/bin/rbw-agent/agent.rs +++ b/src/bin/rbw-agent/agent.rs @@ -143,6 +143,15 @@ async fn handle_request( .await?; true } + rbw::protocol::Action::CheckLock => { + crate::actions::check_lock( + sock, + state.clone(), + req.tty.as_deref(), + ) + .await?; + false + } rbw::protocol::Action::Lock => { crate::actions::lock(sock, state.clone()).await?; false -- cgit v1.2.3-54-g00ecf