diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-07-25 04:33:51 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-07-25 04:33:51 -0400 |
commit | 6b38682d711fb74feddcc06c4da18f8e771858df (patch) | |
tree | 52c36bba21247f0abb7062f87e3e0745dd496b4f /src/bin/rbw-agent/agent.rs | |
parent | 56e9b720bade5dcdc6505952c1bf81bdeca26bcd (diff) | |
download | rbw-6b38682d711fb74feddcc06c4da18f8e771858df.tar.gz rbw-6b38682d711fb74feddcc06c4da18f8e771858df.zip |
implement rbw unlocked
Diffstat (limited to 'src/bin/rbw-agent/agent.rs')
-rw-r--r-- | src/bin/rbw-agent/agent.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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 |