summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localectl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index b0abe7b051..5929169fe5 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);