core: annotate Reexecute() as NoReply

So we're able to tell from the introspection data that the method
doesn't reply.
This commit is contained in:
Frantisek Sumsal
2022-05-10 14:16:11 +09:00
committed by Yu Watanabe
parent ffa3da1dc2
commit 624f685fe8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -164,6 +164,7 @@ node /org/freedesktop/systemd1 {
Dump(out s output);
DumpByFileDescriptor(out h fd);
Reload();
@org.freedesktop.DBus.Method.NoReply("true")
Reexecute();
@org.freedesktop.systemd1.Privileged("true")
Exit();
+1 -1
View File
@@ -3083,7 +3083,7 @@ const sd_bus_vtable bus_manager_vtable[] = {
NULL,
NULL,
method_reexecute,
SD_BUS_VTABLE_UNPRIVILEGED),
SD_BUS_VTABLE_UNPRIVILEGED|SD_BUS_VTABLE_METHOD_NO_REPLY),
SD_BUS_METHOD("Exit",
NULL,
NULL,