systemd-analyze: stop printing Ex transient settings

The test will fail if we ever add one again in the future by mistake.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2025-07-06 18:17:47 +02:00
parent 41288f2daf
commit 228d84e37a
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -2880,9 +2880,11 @@ void bus_dump_transient_settings(UnitType t) {
for (const BusProperty *item = *tables; item->convert; item++) {
assert(item->name || item->dump);
/* Do not print deprecated names */
/* Do not print deprecated names. All "Ex" variants are deprecated. */
if (item->convert == warn_deprecated)
continue;
if (item->name && endswith(item->name, "Ex"))
continue;
if (item->name)
puts(item->name);