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

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