Don't allow skipping formatting root

This commit is contained in:
natemaia 2019-10-29 17:20:42 -07:00
parent 2f28467546
commit 5ec2679a9f

View File

@ -8,7 +8,7 @@
# check for syntax errors
# set -n
VER=2.1.2
VER=2.1.3
# default values {
@ -1028,7 +1028,7 @@ select_filesystem()
[[ $cur && $part == "$AUTO_ROOT_PART" ]] && return 0
until [[ $fs ]]; do
if [[ $cur ]]; then
if [[ $cur && $part != "$ROOT_PART" ]]; then
dlg fs menu "Filesystem" "$txt\nCurrent: $cur" skip - ext4 - ext3 - ext2 - vfat - ntfs - f2fs - jfs - xfs - nilfs2 - reiserfs - || return 1
else
dlg fs menu "Filesystem" "$txt" ext4 - ext3 - ext2 - vfat - ntfs - f2fs - jfs - xfs - nilfs2 - reiserfs - || return 1