]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
drop to shell on die() if rd.shell=1 is set explicitly
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Apr 2016 10:03:03 +0000 (12:03 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Apr 2016 10:03:03 +0000 (12:03 +0200)
modules.d/99base/dracut-lib.sh

index 0a0b1b93bbdb60e192d5003b118e7221d0a8d525..48fc83dc1757389a7a001c6924f8f04d5ecec64a 100755 (executable)
@@ -457,7 +457,7 @@ die() {
 
     > /run/initramfs/.die
 
-    getargbool 0 "rd.debug=" && emergency_shell
+    getargbool 0 "rd.shell=" && emergency_shell
 
     if [ -n "$DRACUT_SYSTEMD" ]; then
         systemctl --no-block --force halt