drop to shell on die() if rd.shell=1 is set explicitly

master
Harald Hoyer 2016-04-15 12:03:03 +02:00
parent 74e2d1e69f
commit 9d74747f92
1 changed files with 1 additions and 1 deletions

View File

@ -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