mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
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:
parent
ffa3da1dc2
commit
624f685fe8
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user