From: Zbigniew Jędrzejewski-Szmek Date: Thu, 5 May 2022 10:15:46 +0000 (+0200) Subject: bootctl: support --graceful in is-installed X-Git-Tag: v251-rc2~4^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=18eb56c3c09f8d4a272d12500f74f21fa8457b8f;p=thirdparty%2Fsystemd.git bootctl: support --graceful in is-installed --- diff --git a/man/bootctl.xml b/man/bootctl.xml index 99cef4c00aa..630dac7d485 100644 --- a/man/bootctl.xml +++ b/man/bootctl.xml @@ -272,7 +272,8 @@ Ignore failure when the EFI System Partition cannot be found, when EFI variables cannot be written, or a different or newer boot loader is already installed. Currently only applies - to random seed and update operations. + to is-installed, update, and random-seed + verbs. diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 058dac5381d..32a0c40aa56 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -2226,7 +2226,9 @@ static int verb_remove(int argc, char *argv[], void *userdata) { static int verb_is_installed(int argc, char *argv[], void *userdata) { int r; - r = acquire_esp(/* privileged_mode= */ false, /* graceful= */ false, NULL, NULL, NULL, NULL, NULL); + r = acquire_esp(/* privileged_mode= */ false, + /* graceful= */ arg_graceful, + NULL, NULL, NULL, NULL, NULL); if (r < 0) return r;