mcst-linux-kernel/patches-2024.06.26/lfs-bootscripts-6.8/0002-rm-error-message-and-w...

25 lines
910 B
Diff

diff -Naur a/lfs/init.d/functions b/lfs/init.d/functions
--- a/lfs/init.d/functions 2020-12-16 16:14:03.882076656 +0000
+++ b/lfs/init.d/functions 2020-12-16 16:18:43.399568376 +0000
@@ -154,20 +154,6 @@
print_error_msg()
{
echo_failure
- # $i is inherited by the rc script
- boot_mesg -n "FAILURE:\n\nYou should not be reading this error message.\n\n" ${FAILURE}
- boot_mesg -n " It means that an unforeseen error took"
- boot_mesg -n " place in ${i}, which exited with a return value of"
- boot_mesg " ${error_value}.\n"
- boot_mesg_flush
- boot_mesg -n "If you're able to track this"
- boot_mesg -n " error down to a bug in one of the files provided by"
- boot_mesg -n " the LFS book, please be so kind to inform us at"
- boot_mesg " lfs-dev@linuxfromscratch.org.\n"
- boot_mesg_flush
- boot_mesg -n "Press Enter to continue..." ${INFO}
- boot_mesg "" ${NORMAL}
- read ENTER
}
check_script_status()