From: Michael Tremer Date: Thu, 13 Nov 2014 23:02:41 +0000 (+0100) Subject: installer: Only drop to a debug shell after a segmentation fault X-Git-Tag: v2.17-core87~103^2~18 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=a046e8a6abf0e28b836cf713625e8e2044bafed1;hp=ade96ba8a590df6411f7effec637609494072034 installer: Only drop to a debug shell after a segmentation fault --- diff --git a/src/installer/dracut-module/run-installer.sh b/src/installer/dracut-module/run-installer.sh index 1a7bd13721..b62cfa996a 100644 --- a/src/installer/dracut-module/run-installer.sh +++ b/src/installer/dracut-module/run-installer.sh @@ -22,10 +22,7 @@ echo "Loading Installer..." ret=$? case "${ret}" in - 0) - # The installer has finished without a problem. - ;; - *) + 139) echo "The installer has crashed. You will be dropped to a debugging shell" /bin/bash --login ;;