mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #2338 from lifubang/systemdcgroupv2
fix path error in systemd when stopped LGTMs: @mrunalp @AkihiroSuda
This commit is contained in:
@@ -463,3 +463,7 @@ func (m *legacyManager) GetFreezerState() (configs.FreezerState, error) {
|
||||
}
|
||||
return freezer.(*fs.FreezerGroup).GetState(path)
|
||||
}
|
||||
|
||||
func (m *legacyManager) Exists() bool {
|
||||
return cgroups.PathExists(m.paths["devices"])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user