From c2e73627dba7e421db409a9c1854598edaef65f1 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 11 Mar 2020 20:38:34 +0000 Subject: [PATCH] grub: fix incorrect error handling --- scripts/build/binary_grub-legacy | 2 +- scripts/build/binary_grub-pc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/binary_grub-legacy b/scripts/build/binary_grub-legacy index bfcddb650..bcd78b0e9 100755 --- a/scripts/build/binary_grub-legacy +++ b/scripts/build/binary_grub-legacy @@ -150,7 +150,7 @@ case "${LIVE_IMAGE_TYPE}" in hdd*|netboot) Echo_warning "Bootloader in this image type not yet supported by live-build." - Echo_warning "This would produce a not bootable image, aborting (FIXME)." + Echo_error "This would produce a not bootable image, aborting (FIXME)." exit 1 ;; esac diff --git a/scripts/build/binary_grub-pc b/scripts/build/binary_grub-pc index ebcbc0acd..b251fb64f 100755 --- a/scripts/build/binary_grub-pc +++ b/scripts/build/binary_grub-pc @@ -54,7 +54,7 @@ Install_package case "${LIVE_IMAGE_TYPE}" in hdd*|netboot) Echo_warning "Bootloader in this image type not yet supported by live-build." - Echo_warning "This would produce a not bootable image, aborting (FIXME)." + Echo_error "This would produce a not bootable image, aborting (FIXME)." exit 1 ;; esac