From 9f1137e7787fdf3b9fb8b2a7bdd9b7abf6380d09 Mon Sep 17 00:00:00 2001 From: "pyther@pyther.net" Date: Sat, 5 Mar 2011 23:29:23 -0500 Subject: Return non-zero return code for generate_grub_menulst Signed-off-by: Dieter Plaetinck --- src/core/libs/lib-ui-interactive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 8281bc0..53bf6b9 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -1135,7 +1135,7 @@ EOF # $2 - Bootloader Configuration Files interactive_bootloader_menu() { if [[ $1 = grub ]]; then - generate_grub_menulst + generate_grub_menulst || return fi grep -q '^/dev/mapper' $TMP_FSTAB && local helptext=" /dev/mapper/ users: Pay attention to the kernel line!" -- cgit v1.2.3-54-g00ecf