summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2016-03-24 10:44:36 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2016-03-24 10:53:00 +0900
commita75db59cf77f1fd0893936df9759d1276b30647f (patch)
tree4b41815e37a08fea03f653c99258d6397e2526a7 /src
parent1eb963a32ddd2147057178cc230d919b66a90db7 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/locale/localectl.c2
1 files changed, 1 insertions, 1 deletions
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;