trivial: Fix up the version check for offline firmware reporting

This commit is contained in:
Richard Hughes 2018-01-11 20:18:15 +00:00
parent ae142a411f
commit 3eb2a00d10

View File

@ -3209,7 +3209,7 @@ fu_engine_update_history_device (FuEngine *self, FuDevice *dev_history, GError *
/* the system is running with the new firmware version */ /* the system is running with the new firmware version */
if (g_strcmp0 (fu_device_get_version (dev), if (g_strcmp0 (fu_device_get_version (dev),
fwupd_release_get_version (rel_history)) != 0) { fwupd_release_get_version (rel_history)) == 0) {
g_debug ("installed version %s matching history %s", g_debug ("installed version %s matching history %s",
fu_device_get_version (dev), fu_device_get_version (dev),
fwupd_release_get_version (rel_history)); fwupd_release_get_version (rel_history));