Skip to content

Commit e6e01c4

Browse files
committed
shellcheck: fix SC2086
Fix: ``` In ./pkg/cidata/cidata.TEMPLATE.d/boot/05-lima-disks.sh line 32: mount -t $FORMAT_FSTYPE "/dev/${DEVICE_NAME}1" "/mnt/lima-${DISK_NAME}" ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mount -t "$FORMAT_FSTYPE" "/dev/${DEVICE_NAME}1" "/mnt/lima-${DISK_NAME}" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ``` Signed-off-by: Akihiro Suda <[email protected]>
1 parent 200db6d commit e6e01c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/05-lima-disks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ for i in $(seq 0 $((LIMA_CIDATA_DISKS - 1))); do
2929
fi
3030

3131
mkdir -p "/mnt/lima-${DISK_NAME}"
32-
mount -t $FORMAT_FSTYPE "/dev/${DEVICE_NAME}1" "/mnt/lima-${DISK_NAME}"
32+
mount -t "$FORMAT_FSTYPE" "/dev/${DEVICE_NAME}1" "/mnt/lima-${DISK_NAME}"
3333
if command -v growpart >/dev/null 2>&1 && command -v resize2fs >/dev/null 2>&1; then
3434
growpart "/dev/${DEVICE_NAME}" 1 || true
3535
# Only resize when filesystem is in a healthy state

0 commit comments

Comments
 (0)