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:
Thierry Laurion 2023-11-06 10:04:51 -05:00
parent bfc877c49c
commit 8d7efa021d
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -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