Mod $p$ decompositions of non-simply connected Lie groups