diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2009-11-13 16:38:14 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2009-11-13 16:38:14 -0800 |
commit | aa8681f4518ddd1289615dd25f406d7777736616 (patch) | |
tree | df953404cb9515ace1b51ec0e843425ab15ae0e0 /scripts/install-system | |
parent | c418b51ab837a58bc499b2620fd86e13a98742ef (diff) | |
download | vyatta-cfg-quagga-aa8681f4518ddd1289615dd25f406d7777736616.tar.gz vyatta-cfg-quagga-aa8681f4518ddd1289615dd25f406d7777736616.zip |
Add start_offset value to log message when partion attempt fails.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-x | scripts/install-system | 2 |
1 files changed, 1 insertions, 1 deletions
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 |