summaryrefslogtreecommitdiff
path: root/src/core/show-status.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-29 17:49:50 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-01 11:48:23 +0100
commit0d066dd1a4cdb6514c8630fc0cf841495bc820a3 (patch)
tree6e7af5b667a8cb85c1d76c67891f639a83a8ac8c /src/core/show-status.c
parent5bcf34ebf3033352cbfcad1a954cb8c11526e401 (diff)
downloadsystemd-0d066dd1a4cdb6514c8630fc0cf841495bc820a3.tar.gz
pid1: add new mode systemd.show-status=error and use it when 'quiet' is passed
systemd.show-status=error is useful for the case where people care about errors only. If people want to have a quiet boot, they most likely don't want to see all status output even if there is a delay in boot, so make "quiet" imply systemd.show-status=error instead of systemd.show-status=auto. Fixes #14976.
Diffstat (limited to 'src/core/show-status.c')
-rw-r--r--src/core/show-status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/show-status.c b/src/core/show-status.c
index c998b51abd..9d7358a9c1 100644
--- a/src/core/show-status.c
+++ b/src/core/show-status.c
@@ -16,6 +16,7 @@
static const char* const show_status_table[_SHOW_STATUS_MAX] = {
[SHOW_STATUS_NO] = "no",
+ [SHOW_STATUS_ERROR] = "error",
[SHOW_STATUS_AUTO] = "auto",
[SHOW_STATUS_TEMPORARY] = "temporary",
[SHOW_STATUS_YES] = "yes",