diff options
Diffstat (limited to 'src/core/procedures/interactive')
-rw-r--r-- | src/core/procedures/interactive | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/procedures/interactive b/src/core/procedures/interactive index 2f90563..0223763 100644 --- a/src/core/procedures/interactive +++ b/src/core/procedures/interactive @@ -87,7 +87,7 @@ mainmenu() "8") notify "If the install finished successfully, you can now type 'reboot' to restart the system." && stop_installer ;; *) - ask_yesno "Abort Installation?" && stop_installer ;; + execute worker abort_installer;; esac } @@ -188,3 +188,12 @@ worker_auto_network () return 1 fi } + +worker_abort_installer () +{ + ret=0 + ask_yesno "Abort Installation?" || return + maybe_interactive_rollback_filesystems || ret=$? + stop_installer || ret=$? + return $ret +} |