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