2018-07-12 14:56:34 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-04-03 17:41:24 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Thu, 9 Nov 2017 15:58:52 -0500
|
2018-07-10 19:08:14 +00:00
|
|
|
Subject: [PATCH] normal: don't draw our startup message if debug is set
|
2018-04-03 17:41:24 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
grub-core/normal/main.c | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
|
2024-08-01 23:56:47 +00:00
|
|
|
index 3463f444f74..b5fa6156549 100644
|
2018-04-03 17:41:24 +00:00
|
|
|
--- a/grub-core/normal/main.c
|
|
|
|
+++ b/grub-core/normal/main.c
|
2021-11-04 16:29:49 +00:00
|
|
|
@@ -430,6 +430,9 @@ grub_normal_reader_init (int nested)
|
2018-04-03 17:41:24 +00:00
|
|
|
const char *msg_esc = _("ESC at any time exits.");
|
|
|
|
char *msg_formatted;
|
|
|
|
|
|
|
|
+ if (grub_env_get ("debug") != NULL)
|
|
|
|
+ return 0;
|
|
|
|
+
|
|
|
|
msg_formatted = grub_xasprintf (_("Minimal BASH-like line editing is supported. For "
|
|
|
|
"the first word, TAB lists possible command completions. Anywhere "
|
2024-08-01 23:56:47 +00:00
|
|
|
"else TAB lists possible device or file completions. To enable "
|