From: Yu Watanabe Date: Thu, 24 Mar 2016 01:44:36 +0000 (+0900) Subject: localectl: remove unnecessary line break X-Git-Tag: v230~238^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a75db59cf77f1fd0893936df9759d1276b30647f;p=thirdparty%2Fsystemd.git localectl: remove unnecessary line break 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. --- diff --git a/src/locale/localectl.c b/src/locale/localectl.c index cde33bdf41d..3494af15c61 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -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;