init: always spawn debugshell on fatal errors

This commit is contained in:
Stefan Saraev 2013-08-15 21:12:07 +03:00
parent c68eb5ea87
commit ee9b463d05

View File

@ -129,11 +129,7 @@
# Display fatal error message
# $1:action which caused error, $2:message
echo "*** Error in $BOOT_STEP: $1: $2 ***"
if [ -z "$DEBUG" ]; then
halt
else
debug_shell
fi
debug_shell
}
break_after() {