Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
err_reboot() {
echo "\nInstallation aborted - unable to continue (type exit or CTRL-D to reboot)"
- debugsh
+ debugsh || true
real_reboot
}
/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
if [ $proxdebug -ne 0 ]; then
echo "Debugging mode (type exit or CTRL-D to reboot)"
- debugsh
+ debugsh || true
fi
echo "Installation done, rebooting... "