#include "path-util.h"
#include "unit-name.h"
#include "fileio.h"
-#include "special.h"
+// #include "special.h"
#include "mkdir.h"
#include "login-util.h"
#include "cgroup-util.h"
}
int cg_get_root_path(char **path) {
- char *p, *e;
+ char *p; //, *e;
int r;
assert(path);
if (r < 0)
return r;
+/// elogind does not support systemd scopes and slices
+#if 0
e = endswith(p, "/" SPECIAL_INIT_SCOPE);
if (!e)
e = endswith(p, "/" SPECIAL_SYSTEM_SLICE); /* legacy */
e = endswith(p, "/system"); /* even more legacy */
if (e)
*e = 0;
+#endif // 0
*path = p;
return 0;