localed: show proper bus error if we can in log message

This commit is contained in:
Lennart Poettering 2018-11-12 13:22:48 +01:00
parent 46e8b9470a
commit 936d113663
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}