mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
common: add PanicSentinel, improve PrivilegeDropper anyhow context
This commit is contained in:
parent
cb2f7483d3
commit
49523779d9
2 changed files with 18 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ impl PrivilegeDropper {
|
|||
.group(self.config.group.clone())
|
||||
.user(self.config.user.clone())
|
||||
.apply()
|
||||
.with_context(|| "drop privileges")?;
|
||||
.with_context(|| "couldn't drop privileges after socket creation")?;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue