context: Lower severity of warning if USB fails to initialise

This is unlikely to happen in a real world scenario and currently breaks
running the CI test (not the umockdev based ones) while building the
flatpak. Lower the severity to avoid aborting because there is a
warning.
This commit is contained in:
Benjamin Berg 2020-09-03 09:00:01 +02:00
parent 596d22a449
commit 5d0481b031

View file

@ -290,7 +290,7 @@ fp_context_init (FpContext *self)
priv->usb_ctx = g_usb_context_new (&error); priv->usb_ctx = g_usb_context_new (&error);
if (!priv->usb_ctx) if (!priv->usb_ctx)
{ {
fp_warn ("Could not initialise USB Subsystem: %s", error->message); g_message ("Could not initialise USB Subsystem: %s", error->message);
} }
else else
{ {