summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-02-03 16:27:33 +0100
committerLennart Poettering <lennart@poettering.net>2022-02-14 15:44:07 +0100
commit9951736b7fe532f266ad8457a889047e1396fb76 (patch)
tree7455a2d7350e694e4ed135f89445b2452dbb6838 /src/login/logind-dbus.c
parentfdf9de694f4c55b8cebd9d749f9c17c4bfb32650 (diff)
downloadsystemd-9951736b7fe532f266ad8457a889047e1396fb76.tar.gz
Revert "bootctl: Ignore boot entries (continue #22041)"
Diffstat (limited to 'src/login/logind-dbus.c')
-rw-r--r--src/login/logind-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index e801f24532..72de58631a 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -2923,7 +2923,7 @@ static int boot_loader_entry_exists(Manager *m, const char *id) {
r = manager_read_efi_boot_loader_entries(m);
if (r >= 0)
- (void) boot_entries_augment_from_loader(&config, m->efi_boot_loader_entries);
+ (void) boot_entries_augment_from_loader(&config, m->efi_boot_loader_entries, true);
return boot_config_has_entry(&config, id);
}
@@ -3081,7 +3081,7 @@ static int property_get_boot_loader_entries(
r = manager_read_efi_boot_loader_entries(m);
if (r >= 0)
- (void) boot_entries_augment_from_loader(&config, m->efi_boot_loader_entries);
+ (void) boot_entries_augment_from_loader(&config, m->efi_boot_loader_entries, true);
r = sd_bus_message_open_container(reply, 'a', "s");
if (r < 0)