summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2009-11-13 17:46:02 -0800
committerBob Gilligan <gilligan@vyatta.com>2009-11-13 17:46:02 -0800
commitf1adfa3d20e1d0fb62a202e5bef1c78d53260e3d (patch)
tree97df2b1734ca191db1013fcf38670c2c866fc072
parent030e3ddcb75c9dfd74fe7e5878b05b9ef08a81d1 (diff)
downloadvyatta-cfg-quagga-f1adfa3d20e1d0fb62a202e5bef1c78d53260e3d.tar.gz
vyatta-cfg-quagga-f1adfa3d20e1d0fb62a202e5bef1c78d53260e3d.zip
Add start_offset value to log message when partion attempt fails.
-rwxr-xr-xscripts/install/install-get-partition2
1 files changed, 1 insertions, 1 deletions
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