We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0fbc13 commit 4ef84d0Copy full SHA for 4ef84d0
dracut/modules.d/55kiwi-dump/kiwi-dump-image.sh
@@ -483,9 +483,9 @@ function optimize_count_for_32k_blocksize {
483
local count=$2
484
local dump_bytes
485
dump_bytes=$((block_size * count))
486
- if [ $((${dump_bytes} % 32768)) -eq 0 ];then
+ if [ $((dump_bytes % 32768)) -eq 0 ];then
487
# dump_bytes is a multiple of 32k, use it for better I/O performance
488
- count=$((${dump_bytes} / 32768))
+ count=$((dump_bytes / 32768))
489
fi
490
echo "${count}"
491
}
0 commit comments