enable localization for common *ctl commands

This commit is contained in:
Dave Reisner
2012-11-12 14:16:07 -05:00
parent 1298001ec5
commit a9cdc94f7f
7 changed files with 14 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@
#include <sys/reboot.h>
#include <stdio.h>
#include <getopt.h>
#include <locale.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
@@ -5240,6 +5241,7 @@ int main(int argc, char*argv[]) {
dbus_error_init(&error);
setlocale(LC_ALL, "");
log_parse_environment();
log_open();