From aa8681f4518ddd1289615dd25f406d7777736616 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Fri, 13 Nov 2009 16:38:14 -0800 Subject: Add start_offset value to log message when partion attempt fails. --- scripts/install-system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/install-system b/scripts/install-system index 065c52a4..8c98e19c 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -731,7 +731,7 @@ create_partitions() { status=$? if [ "$status" != 0 ]; then echo -e "Error creating primary partition on $ldrive.\nPlease see $INSTALL_LOG for more details.\nExiting..." - echo -e "Error creating primary partition on $ldrive.\nparted /dev/$ldrive mkpart primary 0 $root_part_size\n$output" >> $INSTALL_LOG + echo -e "Error creating primary partition on $ldrive.\nparted /dev/$ldrive mkpart primary $start_offset $root_part_size\n$output" >> $INSTALL_LOG exit 1 fi -- cgit v1.2.3