diff options
Diffstat (limited to 'gen_bootloader.sh')
-rw-r--r-- | gen_bootloader.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gen_bootloader.sh b/gen_bootloader.sh index e685c147..de8ada6c 100644 --- a/gen_bootloader.sh +++ b/gen_bootloader.sh @@ -48,8 +48,9 @@ set_grub_bootloader() { # Check that $GRUB_ROOT_PARTITION is a single character local GRUB_ROOT_PARTITION_TEST=$(printf $GRUB_ROOT_PARTITION | wc -c) if [ "${GRUB_ROOT_PARTITION_TEST}" -ne '1' ] + then # GRUB_ROOT_PARTITION is not a number; we can't work this out so... error - print_error 1 'Error! /boot/grub/grub.conf does not exist and the correct settings can't be automatically detected.' + print_error 1 'Error! /boot/grub/grub.conf does not exist and the correct settings can\'t be automatically detected.' print_error 1 'Please manually create your /boot/grub/grub.conf file.' else # grub.conf doesn't exist - create it with standard defaults |