Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
Signed-off-by: Ruediger Pluem <[email protected]>
  • Loading branch information
rpluem-vf committed Apr 3, 2023
1 parent 39772f8 commit 2fcc2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/rootfs_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ func remount(m *configs.Mount, rootfs string, mountFd *int) error {
return err
}
// ... and retry the mount with flags found above.
flags |= uintptr(s.Flags&(unix.MS_RDONLY|unix.MS_NODEV|unix.MS_NOEXEC|unix.MS_NOSUID))
flags |= uintptr(s.Flags & (unix.MS_RDONLY | unix.MS_NODEV | unix.MS_NOEXEC | unix.MS_NOSUID))
return mount(source, m.Destination, procfd, m.Device, flags, "")
})
}
Expand Down

0 comments on commit 2fcc2bf

Please sign in to comment.