2018-04-11 18:42:03 +00:00
|
|
|
From 81d0e079ea5aa6f43daf12f7a8698d0bcd1a36f8 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-04-24 14:41:42 +00:00
|
|
|
Subject: [PATCH 210/236] normal: don't draw our startup message if debug is
|
2018-04-03 17:41:24 +00:00
|
|
|
set
|
|
|
|
|
|
|
|
---
|
|
|
|
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
|
|
|
|
index b69f9e738fa..04ae9ed02f6 100644
|
|
|
|
--- a/grub-core/normal/main.c
|
|
|
|
+++ b/grub-core/normal/main.c
|
|
|
|
@@ -419,6 +419,9 @@ grub_normal_reader_init (int nested)
|
|
|
|
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 "
|
|
|
|
"else TAB lists possible device or file completions. %s"),
|
|
|
|
--
|
|
|
|
2.15.0
|
|
|
|
|