diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-11 20:38:34 +0000 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-12 12:08:33 +0000 |
commit | c2e73627dba7e421db409a9c1854598edaef65f1 (patch) | |
tree | 8f09d3ba09e9f97fb5aa56fffa59cfc5a120688f /scripts | |
parent | 2d9ab1f7f82f9a98b97d1503c1e3f31c86061c15 (diff) | |
download | vyos-live-build-c2e73627dba7e421db409a9c1854598edaef65f1.tar.gz vyos-live-build-c2e73627dba7e421db409a9c1854598edaef65f1.zip |
grub: fix incorrect error handling
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/binary_grub-legacy | 2 | ||||
-rwxr-xr-x | 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 |