]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: when we can't send the pending reload message, say we ignore it in the warning...
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Nov 2018 11:00:42 +0000 (12:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Nov 2018 11:01:22 +0000 (12:01 +0100)
No change in behaviour, just better wording.

src/core/dbus.c

index b16b742a4abd3aa16aba241d020419cb8dc13653..6c00f734a4ea23758c1141261b752a0a8cc9513a 100644 (file)
@@ -56,13 +56,12 @@ int bus_send_pending_reload_message(Manager *m) {
         if (!m->pending_reload_message)
                 return 0;
 
-        /* If we cannot get rid of this message we won't dispatch any
-         * D-Bus messages, so that we won't end up wanting to queue
-         * another message. */
+        /* If we cannot get rid of this message we won't dispatch any D-Bus messages, so that we won't end up wanting
+         * to queue another message. */
 
         r = sd_bus_send(NULL, m->pending_reload_message, NULL);
         if (r < 0)
-                log_warning_errno(r, "Failed to send queued message: %m");
+                log_warning_errno(r, "Failed to send queued message, ignoring: %m");
 
         m->pending_reload_message = sd_bus_message_unref(m->pending_reload_message);