diff options
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/localectl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 3616f4af1f..1e06f2251c 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -467,9 +467,9 @@ static int list_x11_keymaps(sd_bus *bus, char **args, unsigned n) { } else *w = 0; - r = strv_extend(&list, l); - if (r < 0) - return log_oom(); + r = strv_extend(&list, l); + if (r < 0) + return log_oom(); } if (strv_isempty(list)) { |