From: Harald Hoyer Date: Fri, 15 Apr 2016 10:03:03 +0000 (+0200) Subject: drop to shell on die() if rd.shell=1 is set explicitly X-Git-Tag: 045~170 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d74747f926d038f2e149d70a9c8f955861ab354;p=thirdparty%2Fdracut.git drop to shell on die() if rd.shell=1 is set explicitly --- diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 0a0b1b93b..48fc83dc1 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -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