aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-10-18 12:24:02 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-12-16 01:14:37 +0200
commit9652f5785e394f099dbc9188ae88860727df44ce (patch)
tree7009c39bc64759ba6b1f590007e528855ac238ae /tests
parent4e4212d0566e4daa0b8eff9029cafb4a6ac207c1 (diff)
tests/vhost-user-bridge: indicate peer disconnected
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/vhost-user-bridge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/vhost-user-bridge.c b/tests/vhost-user-bridge.c
index 19b0e94258..97e45d8be8 100644
--- a/tests/vhost-user-bridge.c
+++ b/tests/vhost-user-bridge.c
@@ -385,7 +385,6 @@ vubr_message_read(int conn_fd, VhostUserMsg *vmsg)
rc = recvmsg(conn_fd, &msg, 0);
if (rc == 0) {
- vubr_die("recvmsg");
fprintf(stderr, "Peer disconnected.\n");
exit(1);
}