summaryrefslogtreecommitdiffstats
path: root/core/modules/ntfsfree
diff options
context:
space:
mode:
authorSimon Rettberg2020-10-23 14:21:46 +0200
committerSimon Rettberg2020-10-23 14:21:46 +0200
commit18492ae9eb82587b1453d267bd8433366cc21a4a (patch)
tree0dc97a9c4f2e5a54ddf89dcec9ec2f63be5880cf /core/modules/ntfsfree
parent[ntfsfree] No cmake (diff)
downloadmltk-18492ae9eb82587b1453d267bd8433366cc21a4a.tar.gz
mltk-18492ae9eb82587b1453d267bd8433366cc21a4a.tar.xz
mltk-18492ae9eb82587b1453d267bd8433366cc21a4a.zip
[ntfsfree] Fix size in log message
Diffstat (limited to 'core/modules/ntfsfree')
-rwxr-xr-xcore/modules/ntfsfree/data/opt/openslx/scripts/thinpool-grow2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/ntfsfree/data/opt/openslx/scripts/thinpool-grow b/core/modules/ntfsfree/data/opt/openslx/scripts/thinpool-grow
index 3e6fa909..e735fa45 100755
--- a/core/modules/ntfsfree/data/opt/openslx/scripts/thinpool-grow
+++ b/core/modules/ntfsfree/data/opt/openslx/scripts/thinpool-grow
@@ -185,7 +185,7 @@ ntfs_grow() {
[ -z "$grow_max_sz" ] && grow_max_sz=0
(( grow_max_sz > 0 )) || grow_max_sz=209715200 # 100GB max
- debug "NTFS: Trying to grow pool by $(( grow_max_sz / 1024 / 1024 ))MiB"
+ debug "NTFS: Trying to grow pool by $(( grow_max_sz / 2 / 1024 ))MiB"
current=0
while read -r disk_max_sz disk_dev _; do
if (( disk_max_sz <= 0 )); then