From d2e430228f61b78a31729654506af342f6e15703 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 3 Nov 2008 17:07:25 +0100 Subject: function for registered shutdown + tiny cleanup --- src/core/procedures/interactive | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/core/procedures') diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive index 82b2d26..2c646bc 100644 --- a/src/core/procedures/interactive +++ b/src/core/procedures/interactive @@ -110,13 +110,10 @@ mainmenu() "None" "\Zb\Z1Warning\Z0\ZB: you must install your own bootloader!" 2>$ANSWER execute worker install_bootloader "`cat $ANSWER`";; "7") - echo "" - echo "If the install finished successfully, you can now type 'reboot'" - echo "to restart the system." - echo "" - exit 0 ;; + notify "If the install finished successfully, you can now type 'reboot' to restart the system." + stop_installer ;; *) - ask_yesno "Abort Installation?" && exit 0 + ask_yesno "Abort Installation?" && stop_installer ;; esac } -- cgit v1.2.3-54-g00ecf