machined: fix bus path unescaping

This commit is contained in:
Lennart Poettering 2013-07-02 03:58:28 +02:00
parent 1ee306e124
commit 51da82a781
2 changed files with 1 additions and 6 deletions

5
TODO
View File

@ -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

View File

@ -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;