Skip to content

Commit

Permalink
fine tune unveil error log
Browse files Browse the repository at this point in the history
  • Loading branch information
klemensn committed Nov 3, 2024
1 parent b16a3b0 commit ab82ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/yggdrasil/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func main() {
// - create/write arbitrary log file
// - read/write/chmod/remove admin socket, if at all
if err := protect.Unveil("/", "rwc"); err != nil {
panic(fmt.Sprintf("unveil /: %v", err))
panic(fmt.Sprintf("unveil: / rwc: %v", err))
}
if err := protect.UnveilBlock(); err != nil {
panic(fmt.Sprintf("unveil: %v", err))
Expand Down

0 comments on commit ab82ca4

Please sign in to comment.