diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-02-29 17:49:50 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-01 11:48:23 +0100 |
commit | 0d066dd1a4cdb6514c8630fc0cf841495bc820a3 (patch) | |
tree | 6e7af5b667a8cb85c1d76c67891f639a83a8ac8c /src/core/show-status.h | |
parent | 5bcf34ebf3033352cbfcad1a954cb8c11526e401 (diff) | |
download | systemd-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.h')
-rw-r--r-- | src/core/show-status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/show-status.h b/src/core/show-status.h index 0686b60d74..178f624d6c 100644 --- a/src/core/show-status.h +++ b/src/core/show-status.h @@ -9,6 +9,7 @@ typedef enum ShowStatus { SHOW_STATUS_NO, /* printing of status is disabled */ + SHOW_STATUS_ERROR, /* only print errors */ SHOW_STATUS_AUTO, /* disabled but may flip to _TEMPORARY */ SHOW_STATUS_TEMPORARY, /* enabled temporarily, may flip back to _AUTO */ SHOW_STATUS_YES, /* printing of status is enabled */ |