chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c12616a
)
If elogind is just started, /sys/fs/cgroup/elogind might not exist, yet on legacy...
author
Sven Eden
<yamakuzure@gmx.net>
Mon, 15 Jan 2018 19:20:52 +0000
(20:20 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Mon, 15 Jan 2018 19:20:52 +0000
(20:20 +0100)
src/basic/cgroup-util.c
patch
|
blob
|
history
diff --git
a/src/basic/cgroup-util.c
b/src/basic/cgroup-util.c
index 884589f996502932292a28b03f823afefd648c3d..7f86c532cd8662b69d8508602b8fe5117b24e802 100644
(file)
--- a/
src/basic/cgroup-util.c
+++ b/
src/basic/cgroup-util.c
@@
-2569,8
+2569,6
@@
static int cg_unified_update(void) {
unified_cache = CGROUP_UNIFIED_SYSTEMD;
unified_systemd_v232 = true;
} else {
- if (statfs("/sys/fs/cgroup/elogind/", &fs) < 0)
- return -errno;
#endif // 0
if (!F_TYPE_EQUAL(fs.f_type, CGROUP_SUPER_MAGIC))
return -ENOMEDIUM;