From 340c82c454119b734de262fdd93d2637162ad44c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 21 Jan 2026 21:48:49 +0900 Subject: [PATCH] bootctl: make list command take --variables= option --- src/bootctl/bootctl-status.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bootctl/bootctl-status.c b/src/bootctl/bootctl-status.c index e7bb877cf7..2109e45d34 100644 --- a/src/bootctl/bootctl-status.c +++ b/src/bootctl/bootctl-status.c @@ -614,6 +614,8 @@ int verb_list(int argc, char *argv[], void *userdata) { * Here we're interested in the latter but not the former, hence request the mode, and log about * EACCES. */ + (void) touch_variables(); + r = acquire_esp(/* unprivileged_mode= */ -1, /* graceful= */ false, NULL, NULL, NULL, NULL, &esp_devid); if (r == -EACCES) /* We really need the ESP path for this call, hence also log about access errors */ return log_error_errno(r, "Failed to determine ESP location: %m");