Only one of cgroup V1 or V2 can be enabled at a time, so it doesn't make sense to have fallthrough behaviour from V2 to V1. Instead of adding an exit 0 at the end of the V2 case, add an else so that it is clearer that these are two mutually exclusive cases.
Only one of cgroup V1 or V2 can be enabled at a time, so it doesn't make sense to have fallthrough behaviour from V2 to V1. Instead of adding an
exit 0
at the end of the V2 case, add anelse
so that it is clearer that these are two mutually exclusive cases.Fixes a0728be789071466e87f417066c73c7cf1098a03