summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2009-11-13 16:38:14 -0800
committerBob Gilligan <gilligan@vyatta.com>2009-11-13 16:38:14 -0800
commitaa8681f4518ddd1289615dd25f406d7777736616 (patch)
treedf953404cb9515ace1b51ec0e843425ab15ae0e0 /scripts
parentc418b51ab837a58bc499b2620fd86e13a98742ef (diff)
downloadvyatta-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')
-rwxr-xr-xscripts/install-system2
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