Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpig committed Dec 24, 2024
1 parent 75a426b commit 3c25547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/container_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (c *Container) Init(reexecCmd string, reexecArgs []string) error {

// FIXME: why does this segfault??
if ns.Type == specs.TimeNamespace {
if c.Spec.Linux.TimeOffsets != nil && len(c.Spec.Linux.TimeOffsets) > 0 {
if c.Spec.Linux.TimeOffsets != nil {
var tos bytes.Buffer
for clock, offset := range c.Spec.Linux.TimeOffsets {
if n, err := tos.WriteString(
Expand Down

0 comments on commit 3c25547

Please sign in to comment.