projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a33e61
)
localectl: log error if bus_map_all_properties() fails
author
Djalal Harouni
<tixxdz@opendz.org>
Thu, 19 Dec 2013 10:14:33 +0000
(11:14 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 14 Feb 2014 01:19:42 +0000
(
02:19
+0100)
src/locale/localectl.c
patch
|
blob
|
history
diff --git
a/src/locale/localectl.c
b/src/locale/localectl.c
index
b0abe7b
..
5929169
100644
(file)
--- a/
src/locale/localectl.c
+++ b/
src/locale/localectl.c
@@
-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);