--- gtk/win-usb-driver-install.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk/win-usb-driver-install.c b/gtk/win-usb-driver-install.c index c3a7ace..865f795 100644 --- a/gtk/win-usb-driver-install.c +++ b/gtk/win-usb-driver-install.c @@ -175,6 +175,14 @@ void win_usb_driver_handle_reply_cb(GObject *gobject, goto failed_reply; } + if (priv->reply.status == 0) { + g_simple_async_result_set_error(priv->result, + SPICE_WIN_USB_DRIVER_ERROR, + SPICE_WIN_USB_DRIVER_ERROR_MESSAGE, + "usbclerk error reply"); + goto failed_reply; + } + failed_reply: g_simple_async_result_complete_in_idle(priv->result); g_clear_object(&priv->result); -- 1.8.5.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel