mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
machine: fix typo in polkit policy name
Fixes a bug reported in #43975, where CreateMachineEx checks a nonexistent action org.freedesktop.machine1.create-machines. (cherry picked from commit1e5d6faf90) (cherry picked from commit147098746a)
This commit is contained in:
1 parent
59b3a935a4
commit
06aed71adf
1 file changed
+1
-1
@@ -683,7 +683,7 @@ static int method_create_machine(sd_bus_message *message, void *userdata, sd_bus
|
||||
assert(message);
|
||||
|
||||
if (sd_bus_message_is_method_call(message, NULL, "CreateMachineEx"))
|
||||
r = method_create_or_register_machine_ex(manager, message, "org.freedesktop.machine1.create-machines", &m, error);
|
||||
r = method_create_or_register_machine_ex(manager, message, "org.freedesktop.machine1.create-machine", &m, error);
|
||||
else
|
||||
r = method_create_or_register_machine(manager, message, "org.freedesktop.machine1.create-machine", &m, error);
|
||||
if (r < 0)
|
||||
|
||||
Reference in new issue
Block a user