diff --git a/container/container_init.go b/container/container_init.go index 71768e0..0c68cf3 100644 --- a/container/container_init.go +++ b/container/container_init.go @@ -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(