From: Thomas Lamprecht Date: Fri, 8 May 2020 09:21:46 +0000 (+0200) Subject: unconfigured: don't trap "bad" debug-shell exits X-Git-Url: https://git.proxmox.com/?p=pve-installer.git;a=commitdiff_plain;h=2e3fe722177f9c19d166ff7529496242dd06d3a9;ds=sidebyside unconfigured: don't trap "bad" debug-shell exits Signed-off-by: Thomas Lamprecht --- diff --git a/unconfigured.sh b/unconfigured.sh index 3bf5367..ed492c9 100755 --- a/unconfigured.sh +++ b/unconfigured.sh @@ -51,7 +51,7 @@ real_reboot() { err_reboot() { echo "\nInstallation aborted - unable to continue (type exit or CTRL-D to reboot)" - debugsh + debugsh || true real_reboot } @@ -96,7 +96,7 @@ if [ $proxdebug -ne 0 ]; then /sbin/agetty -o '-p -- \\u' --noclear tty9 & echo "Dropping in debug shell inside chroot before starting installation" echo "type exit or CTRL-D to start installation wizard" - debugsh + debugsh || true fi # set the hostname @@ -114,7 +114,7 @@ sync if [ $proxdebug -ne 0 ]; then echo "Debugging mode (type exit or CTRL-D to reboot)" - debugsh + debugsh || true fi echo "Installation done, rebooting... "