chiark / gitweb /
systemctl: don't do ANSI underlining on TERM=linux (#6778)
authorLennart Poettering <lennart@poettering.net>
Sat, 9 Sep 2017 20:48:35 +0000 (22:48 +0200)
committerSven Eden <yamakuzure@gmx.net>
Sat, 9 Sep 2017 20:48:35 +0000 (22:48 +0200)
commit351eb5dc200ace8bc0b06fafb99a2934c35058d8
tree9a9a648e53284ed8ebccffdf85fe8c81a85e4d5e
parentbd4dae01104127b8b92410ea8a126d8d8d0dfcf2
systemctl: don't do ANSI underlining on TERM=linux (#6778)

The linux console apparently can't do underlining, hence let's not do it
on the console.

Also see: #6601
src/basic/terminal-util.c
src/basic/terminal-util.h