summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-12 13:22:48 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-14 17:01:54 +0100
commit936d113663040061514f8d9db5a68a6aba46b119 (patch)
tree738d6366f472c3cdb71683b971f0c7d683238b83 /src/locale
parent46e8b9470ae78eeee2cb84a3b06ef9f0c98b3e08 (diff)
downloadsystemd-936d113663040061514f8d9db5a68a6aba46b119.tar.gz
localed: show proper bus error if we can in log message
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 67d92e4808..94107de62b 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -84,7 +84,7 @@ static int locale_update_system_manager(Context *c, sd_bus *bus) {
r = sd_bus_call(bus, m, 0, &error, NULL);
if (r < 0)
- log_error_errno(r, "Failed to update the manager environment, ignoring: %m");
+ return log_error_errno(r, "Failed to update the manager environment: %s", bus_error_message(&error, r));
return 0;
}