summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl-list-unit-files.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-01 10:15:54 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-04 09:10:50 +0200
commitc1e0dc9c882dfae7ba4bf49c50fd253ea199e7d9 (patch)
treeb9c0b479619567ef44cab6c7305dc4011d95090f /src/systemctl/systemctl-list-unit-files.c
parentfa2ba7aea87ad1812f730f0c2ad86fbfe2ca6552 (diff)
downloadsystemd-c1e0dc9c882dfae7ba4bf49c50fd253ea199e7d9.tar.gz
systemctl: stop saying "vendor preset"
We have vendor presets, and local admin presets, and runtime presets (under /usr/lib, /usr/local/lib and /etc, /run, respectively). When we display preset state, it can be configured in any of those places, so we shouldn't say anything about the origin. (Another nice advantage is that it improves alignment: [root@f36 ~]# systemctl list-unit-files multipathd.service UNIT FILE STATE VENDOR PRESET multipathd.service enabled enabled ^ this looks we have a "PRESET" column that is empty.)
Diffstat (limited to 'src/systemctl/systemctl-list-unit-files.c')
-rw-r--r--src/systemctl/systemctl-list-unit-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-list-unit-files.c b/src/systemctl/systemctl-list-unit-files.c
index 552e85a06b..fa7a789b28 100644
--- a/src/systemctl/systemctl-list-unit-files.c
+++ b/src/systemctl/systemctl-list-unit-files.c
@@ -54,7 +54,7 @@ static int output_unit_file_list(const UnitFileList *units, unsigned c) {
_cleanup_(unit_file_presets_freep) UnitFilePresets presets = {};
int r;
- table = table_new("unit file", "state", "vendor preset");
+ table = table_new("unit file", "state", "preset");
if (!table)
return log_oom();