8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp

Reviewed-by: bobv, adinn
This commit is contained in:
Severin Gehwolf 2019-03-13 20:07:54 +01:00
parent d33d485682
commit 6f30d04d76

View file

@ -48,7 +48,7 @@ public class SubSystem {
public void setPath(String cgroupPath) {
if (root != null && cgroupPath != null) {
if (root.equals("/")) {
if (cgroupPath.equals("/")) {
if (!cgroupPath.equals("/")) {
path = mountPoint + cgroupPath;
}
else {