]> git.proxmox.com Git - pve-installer.git/blobdiff - unconfigured.sh
unconfigured: don't trap "bad" debug-shell exits
[pve-installer.git] / unconfigured.sh
index 3bf5367050cb1b5784a1e1ffa1a8139c3f81773c..ed492c9faa70f1825512cd36c29a95101d58bad7 100755 (executable)
@@ -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... "