From 02894271259a0a149ead9589034e92ccc705a353 Mon Sep 17 00:00:00 2001 From: natemaia Date: Wed, 17 Apr 2019 21:44:40 -0700 Subject: [PATCH] more resize changes --- archlabs-installer | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index 1e9588f..e9038cf 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -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