Fix: syntax error in shrink
This commit is contained in:
parent
fde57308e3
commit
62284e422f
@ -948,6 +948,7 @@ part_shrink()
|
|||||||
mount "$part" $MNT >/dev/null 2>&1; sleep 0.5
|
mount "$part" $MNT >/dev/null 2>&1; sleep 0.5
|
||||||
min=$(df --output=used --block-size=KiB "$part" | awk 'NR == 2 {print int($1)}')
|
min=$(df --output=used --block-size=KiB "$part" | awk 'NR == 2 {print int($1)}')
|
||||||
umount $MNT >/dev/null 2>&1
|
umount $MNT >/dev/null 2>&1
|
||||||
|
;;
|
||||||
ntfs) min=$(ntfsresize -f -m "$part" | awk 'NR == 2 {print int(($NF * 1000 * 1000) / 1024)}') >/dev/null 2>&1 ;;
|
ntfs) min=$(ntfsresize -f -m "$part" | awk 'NR == 2 {print int(($NF * 1000 * 1000) / 1024)}') >/dev/null 2>&1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user