diff --git a/tests/host_tools/vsock_helper.c b/tests/host_tools/vsock_helper.c index 00424dd6b6eb..9368ffd79d6d 100644 --- a/tests/host_tools/vsock_helper.c +++ b/tests/host_tools/vsock_helper.c @@ -84,7 +84,7 @@ int run_echo(uint32_t cid, uint32_t port) { } } - return 0; + return close(sock); }