Don't allow skipping formatting root
This commit is contained in:
parent
2f28467546
commit
5ec2679a9f
@ -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
|
||||
|
Reference in New Issue
Block a user