mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
PrivilegeDropper::after_socket_creation: take ownership of self
This commit is contained in:
parent
87bfec5e55
commit
745a85f71d
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ impl PrivilegeDropper {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn after_socket_creation(&self) -> anyhow::Result<()> {
|
||||
pub fn after_socket_creation(self) -> anyhow::Result<()> {
|
||||
if self.config.drop_privileges {
|
||||
if self.barrier.wait().is_leader() {
|
||||
PrivDrop::default()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue