Skip to content

Commit 4ef84d0

Browse files
committed
shellcheck fixes
1 parent d0fbc13 commit 4ef84d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dracut/modules.d/55kiwi-dump/kiwi-dump-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ function optimize_count_for_32k_blocksize {
483483
local count=$2
484484
local dump_bytes
485485
dump_bytes=$((block_size * count))
486-
if [ $((${dump_bytes} % 32768)) -eq 0 ];then
486+
if [ $((dump_bytes % 32768)) -eq 0 ];then
487487
# dump_bytes is a multiple of 32k, use it for better I/O performance
488-
count=$((${dump_bytes} / 32768))
488+
count=$((dump_bytes / 32768))
489489
fi
490490
echo "${count}"
491491
}

0 commit comments

Comments
 (0)