woopsie daisies nigga
This commit is contained in:
parent
1b1553c416
commit
8459f9e4c8
2
main.go
2
main.go
@ -234,7 +234,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