summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-11 20:38:34 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-12 12:08:33 +0000
commitc2e73627dba7e421db409a9c1854598edaef65f1 (patch)
tree8f09d3ba09e9f97fb5aa56fffa59cfc5a120688f /scripts
parent2d9ab1f7f82f9a98b97d1503c1e3f31c86061c15 (diff)
downloadvyos-live-build-c2e73627dba7e421db409a9c1854598edaef65f1.tar.gz
vyos-live-build-c2e73627dba7e421db409a9c1854598edaef65f1.zip
grub: fix incorrect error handling
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_grub-legacy2
-rwxr-xr-xscripts/build/binary_grub-pc2
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