virtual-image: Exit early when new connection fails

This commit is contained in:
Bastien Nocera 2020-04-14 18:06:06 +02:00
parent e2d4b0d249
commit 170d7c2cf7

View file

@ -215,6 +215,7 @@ new_connection_cb (GObject *source_object, GAsyncResult *res, gpointer user_data
g_warning ("Error accepting a new connection: %s", error->message);
start_listen (dev);
return;
}
/* Always further connections (but we disconnect them immediately