From 70d725913f44f4de758d50fbb551d194624bfeca Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Tue, 11 Apr 2023 08:55:30 +0200 Subject: [PATCH] switch unsupported bootloader message to be written to the log --- internal/ui_main_functions.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/ui_main_functions.go b/internal/ui_main_functions.go index 9146ec1..f843443 100644 --- a/internal/ui_main_functions.go +++ b/internal/ui_main_functions.go @@ -179,8 +179,9 @@ func (m *model) install(auth string) { } else if config.Bootloader == "grub2" { // Write to logger logger.Printf("Configuring grub2 manually") + configs.Set_Grub2() } else { kernel_args := fileio.ReadFile(config.Path.CMDLINE) - fmt.Printf("Unsupported bootloader, please add the below line to your bootloaders kernel arguments\n%s", kernel_args) + logger.Printf("Unsupported bootloader, please add the below line to your bootloaders kernel arguments\n%s", kernel_args) } }