1
0
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:
Djalal Harouni 2013-12-19 11:14:33 +01:00 committed by Lennart Poettering
parent 3a33e61d2d
commit 6046278f40

View File

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