]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
localectl: remove unnecessary line break
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Mar 2016 01:44:36 +0000 (10:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Mar 2016 01:53:00 +0000 (10:53 +0900)
If /etc/locale.conf is empty or does not exist, the output of
'localectl status' command includes an unnecessary line break
as follows:
=======================
   System Locale: n/a

       VC Keymap: n/a
      X11 Layout: n/a
=======================
This commit removes the line break after the system locale.

src/locale/localectl.c

index cde33bdf41d70eab7dccf370a950681940d71ed9..3494af15c610386c932265780225459a972f9e19 100644 (file)
@@ -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;