Blame SOURCES/0121-normal-don-t-draw-our-startup-message-if-debug-is-se.patch

8631a2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8631a2
From: Peter Jones <pjones@redhat.com>
8631a2
Date: Thu, 9 Nov 2017 15:58:52 -0500
8631a2
Subject: [PATCH] normal: don't draw our startup message if debug is set
8631a2
8631a2
---
8631a2
 grub-core/normal/main.c | 3 +++
8631a2
 1 file changed, 3 insertions(+)
8631a2
8631a2
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
f6e916
index b69f9e738..04ae9ed02 100644
8631a2
--- a/grub-core/normal/main.c
8631a2
+++ b/grub-core/normal/main.c
8631a2
@@ -419,6 +419,9 @@ grub_normal_reader_init (int nested)
8631a2
   const char *msg_esc = _("ESC at any time exits.");
8631a2
   char *msg_formatted;
8631a2
 
8631a2
+  if (grub_env_get ("debug") != NULL)
8631a2
+    return 0;
8631a2
+
8631a2
   msg_formatted = grub_xasprintf (_("Minimal BASH-like line editing is supported. For "
8631a2
 				    "the first word, TAB lists possible command completions. Anywhere "
8631a2
 				    "else TAB lists possible device or file completions. %s"),