mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
eb09df749a
As ExpandSlice("system.slice") returns "/system.slice", there is no need
to call it for such paths (and the slash will be added by path.Join
anyway).
The same optimization was already done for v2 as part of commit
bf15cc99b1.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>