[systemd-commits] src/locale

Lennart Poettering lennart at kemper.freedesktop.org
Fri Feb 14 02:39:57 CET 2014


 src/locale/localectl.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 6046278f405b3ebaf84fcf17f6e834c4c4bd6a42
Author: Djalal Harouni <tixxdz at opendz.org>
Date:   Thu Dec 19 11:14:33 2013 +0100

    localectl: log error if bus_map_all_properties() fails

diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index b0abe7b..5929169 100644
--- 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);
 



More information about the systemd-commits mailing list