woopsie daisies
This commit is contained in:
parent
e69c2a6685
commit
6088fb93d4
2
main.go
2
main.go
@ -236,7 +236,7 @@ func main() {
|
||||
log.Warn().Err(err).Msg("could not landlock")
|
||||
}
|
||||
|
||||
if _, err = os.Open("/etc/passwd"); err != nil {
|
||||
if _, err = os.Open("/etc/passwd"); err == nil {
|
||||
log.Warn().Msg("landlock failed, could open /etc/passwd, are you on a 5.13+ kernel?")
|
||||
} else {
|
||||
log.Info().Err(err).Msg("landlocked")
|
||||
|
Loading…
Reference in New Issue
Block a user