mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 18:57:04 +00:00
media-scan: die if gpg_auth fails (should loop and never exit anyway)
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
bfc877c49c
commit
8d7efa021d
@ -8,7 +8,7 @@ set -e -o pipefail
|
||||
TRACE "Under /bin/media-scan"
|
||||
|
||||
#Booting from external media should be authenticated if supported
|
||||
gpg_auth
|
||||
gpg_auth || die "GPG authentication failed"
|
||||
|
||||
# Unmount any previous boot device
|
||||
if grep -q /boot /proc/mounts ; then
|
||||
|
Loading…
Reference in New Issue
Block a user