Blame SOURCES/0187-Failed-config-now-returns-exit-code-1252311.patch

d41074
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a85e8e
From: Robert Marshall <rmarshall@redhat.com>
a85e8e
Date: Fri, 29 Jan 2016 14:49:24 -0500
d41074
Subject: [PATCH] Failed config now returns exit code (#1252311)
a85e8e
a85e8e
Grub would notify the user if the new config was invalid, however, it
a85e8e
did not exit properly with exit code 1. Added the proper exit code.
a85e8e
a85e8e
Resolves: rhbz#1252311
a85e8e
---
a85e8e
 util/grub-mkconfig.in | 1 +
a85e8e
 1 file changed, 1 insertion(+)
a85e8e
a85e8e
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
d41074
index cf315e241f6..7db89499949 100644
a85e8e
--- a/util/grub-mkconfig.in
a85e8e
+++ b/util/grub-mkconfig.in
a85e8e
@@ -281,6 +281,7 @@ Ensure that there are no errors in /etc/default/grub
a85e8e
 and /etc/grub.d/* files or please file a bug report with
a85e8e
 %s file attached." "${grub_cfg}.new" >&2
a85e8e
     echo >&2
a85e8e
+    exit 1
a85e8e
   else
a85e8e
     # none of the children aborted with error, install the new grub.cfg
a85e8e
     cat ${grub_cfg}.new > ${grub_cfg}