mirror of
https://github.com/containers/podman.git
synced 2025-11-13 17:47:13 +08:00
vendor c/common
Update the recent events-log changes to fix the build error. [NO NEW TESTS NEEDED] since there's no functional change. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/common/pkg/umask/umask_unix.go
generated
vendored
4
vendor/github.com/containers/common/pkg/umask/umask_unix.go
generated
vendored
@@ -10,8 +10,8 @@ import (
|
||||
)
|
||||
|
||||
func Check() {
|
||||
oldUmask := syscall.Umask(0022) //nolint
|
||||
if (oldUmask & ^0022) != 0 {
|
||||
oldUmask := syscall.Umask(0o022) //nolint
|
||||
if (oldUmask & ^0o022) != 0 {
|
||||
logrus.Debugf("umask value too restrictive. Forcing it to 022")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user