From ae86ae676c09dc47b5e2ac9269ea7c16758b4fb6 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 13 Apr 2019 17:11:56 -0700 Subject: [PATCH] Fix ntfsresize command --- archlabs-installer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index a7f4c6c..a0b685c 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -5,7 +5,7 @@ # Some ideas and code reworked from other resources # AIF, Cnichi, Calamares, Arch Wiki.. Credit where credit is due -VER="2.0.32" # installer version +VER="2.0.33" # installer version DIST="ArchLabs" # linux distributor MNT="/mnt" # install mountpoint ANS="/tmp/ans" # dialog answer file @@ -951,8 +951,8 @@ part_resize() 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 + ntfsresize -fc -s ${size}k "$part" 2>$ERR + errshow "ntfsresize -f -s ${size}k $part" || return 1 ;; esac sleep 0.5