X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fncurses%2Fnc-boot-editor.c;fp=ui%2Fncurses%2Fnc-boot-editor.c;h=3f7c5e515b36bf72dfdbfa255e1eb8c88af54ff8;hb=18a47a31b46d916c58a31e8784a7c3a3abcae446;hp=2e5749bae46210128529ed4faa27c149734e6b91;hpb=32952937bc5c3753ff2f8f4612da5ba51bf69759;p=petitboot diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c index 2e5749b..3f7c5e5 100644 --- a/ui/ncurses/nc-boot-editor.c +++ b/ui/ncurses/nc-boot-editor.c @@ -637,9 +637,11 @@ struct boot_editor *boot_editor_init(struct cui *cui, return NULL; #if defined(SIGNED_BOOT) +#if !defined(HARD_LOCKDOWN) if (access(LOCKDOWN_FILE, F_OK) == -1) boot_editor->use_signature_files = false; else +#endif boot_editor->use_signature_files = true; #else boot_editor->use_signature_files = false;