Skip to content

Commit

Permalink
remove let socket = socket;
Browse files Browse the repository at this point in the history
Signed-off-by: anti-entropy123 <[email protected]>
  • Loading branch information
anti-entropy123 committed Oct 9, 2023
1 parent 326aea1 commit 951e5c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub fn recv_seccomp_listener(seccomp_listener: &Path) -> SeccompAgentResult {
None,
)
.context("failed to create seccomp listener socket")?;
let socket = socket;

socket::bind(socket.as_raw_fd(), &addr).context("failed to bind to seccomp listener socket")?;
// Force the backlog to be 1 so in the case of an error, only one connection
// from clients will be waiting.
Expand Down

0 comments on commit 951e5c6

Please sign in to comment.