Fixing intermittent truncating of filesystem.

This commit is contained in:
Cody A.W. Somerville 2009-11-12 06:43:35 +01:00 committed by Daniel Baumann
parent f8b187c7a9
commit 605af52623
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ Calculate_partition_size ()
PERCENT="5"
;;
*)
PERCENT="2"
PERCENT="3"
;;
esac
echo $(expr ${ORIGINAL_SIZE} + ${ORIGINAL_SIZE} \* ${PERCENT} / 100)
echo $(expr ${ORIGINAL_SIZE} + ${ORIGINAL_SIZE} \* ${PERCENT} / 100 + 1)
}