Skip to content

Commit f5243aa

Browse files
dustymabeopenshift-merge-robot
authored andcommitted
shellcheck: disable double quotes check in osmet-pack
In this case if we quote "$fast" then we'll end up passing in '' as a positional argument to `osmet pack` which will cause an error.
1 parent 388d011 commit f5243aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/osmet-pack

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ case "$speed" in
8787
*) exit 1 ;;
8888
esac
8989

90+
# We don't want double quotes because passing '' is not what we want
91+
# shellcheck disable=SC2086
9092
RUST_BACKTRACE=full "${coreinst}" osmet pack /dev/disk/by-id/virtio-osmet \
9193
--description "${description}" \
9294
--checksum "${checksum}" \

0 commit comments

Comments
 (0)