diff options
author | Brett Grandbois <brett.grandbois@opengear.com> | 2018-05-15 10:55:51 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-05-30 14:23:44 +1000 |
commit | e370583366d72e55551f20e3f9b0457e787309bf (patch) | |
tree | 22c715f204397545cf1f1d36ace9772e4bd6e0f3 /ui | |
parent | 902ee86b042444a91e7122b56a204749d297d59d (diff) | |
download | talos-petitboot-e370583366d72e55551f20e3f9b0457e787309bf.tar.gz talos-petitboot-e370583366d72e55551f20e3f9b0457e787309bf.zip |
ui/ncurses: Update LOCKDOWN_FILE check to reflect generic SIGNED_BOOT
Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ncurses/nc-boot-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c index f302c52..2e5749b 100644 --- a/ui/ncurses/nc-boot-editor.c +++ b/ui/ncurses/nc-boot-editor.c @@ -636,7 +636,7 @@ struct boot_editor *boot_editor_init(struct cui *cui, if (!boot_editor) return NULL; -#if defined(HAVE_LIBGPGME) +#if defined(SIGNED_BOOT) if (access(LOCKDOWN_FILE, F_OK) == -1) boot_editor->use_signature_files = false; else |