fix exit function

merge-requests/273/head
Bernhard Landauer 7 years ago
parent 365e83a8ff
commit cb0ddc04a1

@ -44,21 +44,7 @@ main_menu_online() {
;;
"8") edit_configs
;;
*) final_check
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "$_CloseInstBody $(cat ${CHECKLIST})" 0 0
if [[ $? -eq 0 ]]; then
echo "exit installer." >> ${LOGFILE}
if [[ -e /mnt/usr ]]; then
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "\n$_LogInfo\n" 0 0
if [[ $? -eq 0 ]]; then
[[ -e /mnt/.m-a.log ]] && cat ${LOGFILE} >> /mnt/.m-a.log
cp ${LOGFILE} /mnt/.m-a.log
fi
fi
umount_partitions
clear
exit 0
fi
*) exit_done
;;
esac

Loading…
Cancel
Save