From a75db59cf77f1fd0893936df9759d1276b30647f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 24 Mar 2016 10:44:36 +0900 Subject: 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. --- src/locale/localectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/localectl.c b/src/locale/localectl.c index cde33bdf41..3494af15c6 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; -- cgit v1.2.3-54-g00ecf