X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ui%2Fncurses%2Fnc-boot-editor.c;h=3f7c5e515b36bf72dfdbfa255e1eb8c88af54ff8;hb=9e869ebe3a5127575105d82c4d289d95cbed2db9;hp=2e5749bae46210128529ed4faa27c149734e6b91;hpb=e370583366d72e55551f20e3f9b0457e787309bf;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;