more resize changes

This commit is contained in:
natemaia 2019-04-17 21:44:40 -07:00
parent 53a5328a6d
commit 0289427125

View File

@ -944,12 +944,9 @@ part_resize()
ext[2-4])
e2fsck -f "$part"; sleep 0.5
resize2fs -f "$part" ${size}K 2>$ERR
errshow "resize2fs -f $part ${size}K" || return 1
;;
ntfs)
ntfsresize -f -s ${size}k "$part" 2>$ERR
errshow "ntfsresize -f -s ${size}k $part" || return 1
errshow "resize2fs -f $part ${size}K" { echo 'press enter to continue'; read; return 1; }
;;
ntfs) ntfsresize -f -s ${size}k "$part" || { echo 'press enter to continue'; read; return 1; } ;;
esac
sleep 0.5