mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
shellcheck: Fix shellcheck SC2104
> In functions, use return instead of break. > rationale: break or continue are used to abort or continue a loop, and are not the right way to exit a function. Use return instead. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
67bfd4793e
commit
eb90b93e3f
@ -665,7 +665,7 @@ function main() {
|
||||
if [[ "${KATA_HYPERVISOR}" == "qemu-runtime-rs" ]]; then
|
||||
info "TestKilledVmmCleanup and TestDeviceCgroup skipped for qemu with runtime-rs"
|
||||
info "Please check out https://github.com/kata-containers/kata-containers/issues/9375"
|
||||
break
|
||||
return
|
||||
else
|
||||
TestKilledVmmCleanup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user