diff options
Diffstat (limited to 'setupdisk.sh')
-rw-r--r-- | setupdisk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setupdisk.sh b/setupdisk.sh index d9bd8d7..6d13436 100644 --- a/setupdisk.sh +++ b/setupdisk.sh @@ -27,7 +27,7 @@ ${IRED}FAILED!${RST}\n" fi printf "%b" " ${IGRN}Formatting ${IWHT}${LFS_DISK}${LFS_PART} with \ ${IWHT}${LFS_FS}${IGRN} filesystem and label ${IWHT}${LFS_VER}${RST}\n" -if ! sudo /sbin/mkfs -t ${LFS_FS} -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1; then +if ! sudo /sbin/mkfs -t ${LFS_FS,,} -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1; then printf "%b" " ${IGRN}Creating ${IWHT}${LFS_FS}${IGRN} filesystem at \ ${IWHT}${LFS_DISK}${LFS_PART} ${IRED}FAILED!${RST}\n" exit 1 |