From: Frantisek Sumsal Date: Mon, 9 May 2022 21:43:40 +0000 (+0200) Subject: core: annotate Reexecute() as NoReply X-Git-Tag: v251-rc3~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=624f685fe8ff1a90370e02faf60d0292a8e01f26;p=thirdparty%2Fsystemd.git core: annotate Reexecute() as NoReply So we're able to tell from the introspection data that the method doesn't reply. --- diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml index a1c3e00aaba..4d191951658 100644 --- a/man/org.freedesktop.systemd1.xml +++ b/man/org.freedesktop.systemd1.xml @@ -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(); diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index a6b2ea28866..e2f21f5e1e3 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -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,