don't exit on abort

This commit is contained in:
Tobias Powalowski 2023-03-03 07:14:07 +01:00
parent 32323d0bd3
commit 6bb296eb95
2 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ _abort()
{
_dialog --yesno "Abort Arch Linux System Wide Locale Setting?" 5 60 || return 0
[[ -e /tmp/.locale-running ]] && rm /tmp/.locale-running
clear
exit 1
}
@ -55,5 +56,6 @@ while [[ -z ${_LOCALE} ]]; do
done
_do_locale
[[ -e /tmp/.locale-running ]] && rm /tmp/.locale-running
clear
exit 0
# vim: set ts=4 sw=4 et:

View file

@ -158,6 +158,7 @@ if [[ -e /usr/bin/setup ]]; then
read -r
! [[ -e /tmp/.locale ]] && archboot-locale.sh
fi
cat /etc/motd
_local_mode
_enter_shell
if ! [[ -e /tmp/.setup ]]; then