diff options
Diffstat (limited to 'src/login/loginctl.c')
-rw-r--r-- | src/login/loginctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 24941fef34..146986b46e 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -25,6 +25,7 @@ #include <string.h> #include <getopt.h> #include <pwd.h> +#include <locale.h> #include "log.h" #include "util.h" @@ -1568,6 +1569,7 @@ int main(int argc, char*argv[]) { dbus_error_init(&error); + setlocale(LC_ALL, ""); log_parse_environment(); log_open(); |