summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/losetup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh
index 51f5426..1b1f61f 100755
--- a/functions/losetup.sh
+++ b/functions/losetup.sh
@@ -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)
}