forked from pool/systemd
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=544
This commit is contained in:
parent
d94ad9a4a0
commit
42872d6178
@ -17,14 +17,14 @@ diff --git src/core/dbus-manager.c src/core/dbus-manager.c
|
||||
index 34ef1f5..30f28b6 100644
|
||||
--- src/core/dbus-manager.c
|
||||
+++ src/core/dbus-manager.c
|
||||
@@ -1386,8 +1386,11 @@ static int reply_unit_file_changes_and_free(
|
||||
@@ -1357,8 +1357,11 @@ static int reply_unit_file_changes_and_f
|
||||
unsigned i;
|
||||
int r;
|
||||
|
||||
- if (n_changes > 0)
|
||||
- bus_foreach_bus(m, NULL, send_unit_files_changed, NULL);
|
||||
- bus_manager_foreach_client(m, send_unit_files_changed, NULL);
|
||||
+ if (n_changes > 0) {
|
||||
+ r = bus_foreach_bus(m, NULL, send_unit_files_changed, NULL);
|
||||
+ r = bus_manager_foreach_client(m, send_unit_files_changed, NULL);
|
||||
+ if (r < 0)
|
||||
+ log_debug("Failed to send UnitFilesChanged signal: %s", strerror(-r));
|
||||
+ }
|
||||
@ -62,3 +62,5 @@ index 515ac8b..07e7f20 100644
|
||||
--
|
||||
1.7.9.2
|
||||
|
||||
--- src/core/dbus-manager.c
|
||||
+++ src/core/dbus-manager.c 2014-03-11 11:05:44.350235568 +0000
|
||||
|
Loading…
Reference in New Issue
Block a user