Skip to content

Commit

Permalink
Merge pull request systemd#2892 from yuwata/localectl
Browse files Browse the repository at this point in the history
localectl: remove an unnecessary line break from and align the output of status command
  • Loading branch information
zonque committed Mar 24, 2016
2 parents 1eb963a + c86b2d8 commit d8fd85e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/locale/localectl.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ static void print_overridden_variables(void) {
if (variables[j]) {
if (print_warning) {
log_warning("Warning: Settings on kernel command line override system locale settings in /etc/locale.conf.\n"
" Command Line: %s=%s", locale_variable_to_string(j), variables[j]);
" Command Line: %s=%s", locale_variable_to_string(j), variables[j]);

print_warning = false;
} else
log_warning(" %s=%s", locale_variable_to_string(j), variables[j]);
log_warning(" %s=%s", locale_variable_to_string(j), variables[j]);
}
finish:
for (j = 0; j < _VARIABLE_LC_MAX; j++)
Expand All @@ -131,7 +131,7 @@ static void print_status_info(StatusInfo *i) {
assert(i);

if (strv_isempty(i->locale))
puts(" System Locale: n/a\n");
puts(" System Locale: n/a");
else {
char **j;

Expand Down

0 comments on commit d8fd85e

Please sign in to comment.