machined: fix bus path unescaping
This commit is contained in:
parent
1ee306e124
commit
51da82a781
5
TODO
5
TODO
|
@ -64,11 +64,6 @@ Features:
|
|||
|
||||
* handle jointly mounted controllers correctly
|
||||
|
||||
* split out CreateMachine into systemd-machined
|
||||
|
||||
* make logind's session and machine
|
||||
registration use Slices to set up cgroups
|
||||
|
||||
* journald: make sure ratelimit is actually really per-service with the new cgroup changes
|
||||
|
||||
* move systemctl dump to systemd-analyze
|
||||
|
|
|
@ -109,7 +109,7 @@ static int get_machine_for_path(Manager *m, const char *path, Machine **_machine
|
|||
if (!startswith(path, "/org/freedesktop/machine1/machine/"))
|
||||
return -EINVAL;
|
||||
|
||||
e = bus_path_unescape(path + 32);
|
||||
e = bus_path_unescape(path + 34);
|
||||
if (!e)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
Loading…
Reference in New Issue