mirror of
https://github.com/opencontainers/runc.git
synced 2026-06-24 08:48:44 +00:00
1. Use sync.OnceValue. 2. Fix the len(buf) check -- we only need 1 byte. Real kernel output is "Y\n" so practically this change is a no-op. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>