Blame 0061-drop-to-shell-on-die-if-rd.shell-1-is-set-explicitly.patch

Harald Hoyer b38677
From 9d74747f926d038f2e149d70a9c8f955861ab354 Mon Sep 17 00:00:00 2001
Harald Hoyer b38677
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer b38677
Date: Fri, 15 Apr 2016 12:03:03 +0200
Harald Hoyer b38677
Subject: [PATCH] drop to shell on die() if rd.shell=1 is set explicitly
Harald Hoyer b38677
Harald Hoyer b38677
---
Harald Hoyer b38677
 modules.d/99base/dracut-lib.sh | 2 +-
Harald Hoyer b38677
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer b38677
Harald Hoyer b38677
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
Harald Hoyer b38677
index 0a0b1b9..48fc83d 100755
Harald Hoyer b38677
--- a/modules.d/99base/dracut-lib.sh
Harald Hoyer b38677
+++ b/modules.d/99base/dracut-lib.sh
Harald Hoyer b38677
@@ -457,7 +457,7 @@ die() {
Harald Hoyer b38677
 
Harald Hoyer b38677
     > /run/initramfs/.die
Harald Hoyer b38677
 
Harald Hoyer b38677
-    getargbool 0 "rd.debug=" && emergency_shell
Harald Hoyer b38677
+    getargbool 0 "rd.shell=" && emergency_shell
Harald Hoyer b38677
 
Harald Hoyer b38677
     if [ -n "$DRACUT_SYSTEMD" ]; then
Harald Hoyer b38677
         systemctl --no-block --force halt