Skip to content
Commit 2b9d145a authored by Adam Williamson's avatar Adam Williamson
Browse files

fwupd: do fwupd_client_connect before setting user agent



Since fwupd 1.8.11, setting user agent before doing anything else
causes an error, because the daemon version is not yet set and
the user agent setting function now errors out if that's the
case (previously it set part of the user agent string as NULL,
which was bad and apparently confused LVFS). gnome-software does
client_connect (well, it uses the async version) before setting
the user agent, so let's try that (moving it from happening just
*after* setting the user agent).

Signed-off-by: default avatarAdam Williamson <awilliam@redhat.com>
parent 4c29e8cd
Pipeline #337910 passed with stage
in 2 minutes and 18 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment