chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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 b0abe7b0513a62813e5861aacd45dd03040898c1..5929169fe52938d386d7a774aec6e65399e1634b 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);