summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpyther@pyther.net <pyther@pyther.net>2011-03-05 23:29:23 -0500
committerDieter Plaetinck <dieter@plaetinck.be>2011-03-06 10:01:35 +0100
commit9f1137e7787fdf3b9fb8b2a7bdd9b7abf6380d09 (patch)
tree889c5bb2b897d03fa21be47d232bb47c7b42bc7e /src
parent86ffa132801ca83a3a7ec618c63e4d6de7d5a18a (diff)
Return non-zero return code for generate_grub_menulst
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be>
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
1 files changed, 1 insertions, 1 deletions
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!"