mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
cgroup: compare fs paths with path_equal() rather than streq()
This commit is contained in:
parent
670612567b
commit
06eb4e3bf8
@ -413,7 +413,7 @@ int bus_cgroup_set_property(
|
||||
bool exist = false;
|
||||
|
||||
LIST_FOREACH(device_allow, b, c->device_allow) {
|
||||
if (streq(b->path, path)) {
|
||||
if (path_equal(b->path, path)) {
|
||||
a = b;
|
||||
exist = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user