mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
localectl: log error if bus_map_all_properties() fails
This commit is contained in:
parent
3a33e61d2d
commit
6046278f40
@ -128,8 +128,10 @@ static int show_status(sd_bus *bus, char **args, unsigned n) {
|
||||
"/org/freedesktop/locale1",
|
||||
map,
|
||||
&info);
|
||||
if (r < 0)
|
||||
if (r < 0) {
|
||||
log_error("Could not get properties: %s", strerror(-r));
|
||||
goto fail;
|
||||
}
|
||||
|
||||
print_status_info(&info);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user