.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=544
This commit is contained in:
parent
ac8d00f52b
commit
dc6304205d
@ -17,14 +17,14 @@ diff --git src/core/dbus-manager.c src/core/dbus-manager.c
|
|||||||
index 34ef1f5..30f28b6 100644
|
index 34ef1f5..30f28b6 100644
|
||||||
--- src/core/dbus-manager.c
|
--- src/core/dbus-manager.c
|
||||||
+++ 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;
|
unsigned i;
|
||||||
int r;
|
int r;
|
||||||
|
|
||||||
- if (n_changes > 0)
|
- 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) {
|
+ 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)
|
+ if (r < 0)
|
||||||
+ log_debug("Failed to send UnitFilesChanged signal: %s", strerror(-r));
|
+ log_debug("Failed to send UnitFilesChanged signal: %s", strerror(-r));
|
||||||
+ }
|
+ }
|
||||||
@ -62,3 +62,5 @@ index 515ac8b..07e7f20 100644
|
|||||||
--
|
--
|
||||||
1.7.9.2
|
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