summaryrefslogtreecommitdiff
path: root/src/core/failure-action.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-19 00:45:05 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-22 16:30:42 +0200
commit1fc464f6fbecfc5d8ba9f7b98d19e21fb324bfb9 (patch)
treecab3dbcc5f1c9bd4bde7601cf2163f7fa73ae860 /src/core/failure-action.c
parent3ade55d31b6154e4da184dd08ad76ae1ea285f22 (diff)
cgtop: underline table header
Let's underline the header line of the table shown by cgtop, how it is customary for tables. In order to do this, let's introduce new ANSI underline macros, and clean up the existing ones as side effect.
Diffstat (limited to 'src/core/failure-action.c')
-rw-r--r--src/core/failure-action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/failure-action.c b/src/core/failure-action.c
index b06a7d2ae5..3412accf3e 100644
--- a/src/core/failure-action.c
+++ b/src/core/failure-action.c
@@ -32,7 +32,7 @@
static void log_and_status(Manager *m, const char *message) {
log_warning("%s", message);
manager_status_printf(m, STATUS_TYPE_EMERGENCY,
- ANSI_HIGHLIGHT_RED_ON " !! " ANSI_HIGHLIGHT_OFF,
+ ANSI_HIGHLIGHT_RED " !! " ANSI_NORMAL,
"%s", message);
}