diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-04-20 16:03:23 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-04-20 16:03:23 -0400 |
commit | 674e261df7b8d22e957224507b717c34c60a6135 (patch) | |
tree | 47b2faabb49e764054c80618ddca72d4b00a04e3 /src/bin/rbw-agent/actions.rs | |
parent | fa1b4fe139adfc36733bda6f06c15915312aebf8 (diff) | |
download | rbw-674e261df7b8d22e957224507b717c34c60a6135.tar.gz rbw-674e261df7b8d22e957224507b717c34c60a6135.zip |
clippy
Diffstat (limited to 'src/bin/rbw-agent/actions.rs')
-rw-r--r-- | src/bin/rbw-agent/actions.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/rbw-agent/actions.rs b/src/bin/rbw-agent/actions.rs index ff39510..674442b 100644 --- a/src/bin/rbw-agent/actions.rs +++ b/src/bin/rbw-agent/actions.rs @@ -474,7 +474,6 @@ pub async fn lock( pub async fn check_lock( sock: &mut crate::sock::Sock, state: std::sync::Arc<tokio::sync::Mutex<crate::agent::State>>, - _tty: Option<&str>, ) -> anyhow::Result<()> { if state.lock().await.needs_unlock() { return Err(anyhow::anyhow!("agent is locked")); |