diff --git a/internal/configs/config_bootloaders.go b/internal/configs/config_bootloaders.go index 34b4524..32287d8 100644 --- a/internal/configs/config_bootloaders.go +++ b/internal/configs/config_bootloaders.go @@ -83,7 +83,7 @@ func Set_KernelStub(isRoot bool) { // Run and log, check for errors common.ErrorCheck(command.ExecAndLogSudo(isRoot, true, - "kernelstub -a "+kernel_args, + "kernelstub -a "+fmt.Sprintf("\"%s\"", kernel_args), ), "Error, kernelstub command returned exit code 1", ) diff --git a/internal/configs/configs.go b/internal/configs/configs.go index 6f4772d..74ecb60 100644 --- a/internal/configs/configs.go +++ b/internal/configs/configs.go @@ -309,6 +309,7 @@ func CopyToSystem(isRoot bool, conffile, sysfile string) { common.ErrorCheck(err, fmt.Sprintf("Failed to read %s", conffile)) err = os.WriteFile(sysfile, fDat, 0644) common.ErrorCheck(err, fmt.Sprintf("Failed to write %s", sysfile)) + logger.Printf("Copied %s to %s\n", conffile, sysfile) return }