woopsie daisies nigga

This commit is contained in:
delorean 2024-01-16 03:45:53 -06:00
parent 1b1553c416
commit 8459f9e4c8
No known key found for this signature in database
GPG Key ID: 15A8C37298079067

View File

@ -234,7 +234,7 @@ func main() {
log.Warn().Err(err).Msg("could not landlock") 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?") log.Warn().Msg("landlock failed, could open /etc/passwd, are you on a 5.13+ kernel?")
} else { } else {
log.Info().Err(err).Msg("landlocked") log.Info().Err(err).Msg("landlocked")