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