mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 21:37:23 +00:00
This brings over the enhancement from https://github.com/moby/moby/commit/a506630e570735d13c587a9d755f3d5729658f28. We don't expect the systemd state to change while containerd is running, so we can use a `sync.Once` for this, to prevent stat'ing each time. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>