fu-remote-list: emit a changed signal when modifying a remote

This should notify the daemon of changes before the inotify letting
the data store get reloaded and fix autopkgtest race conditions.
Fixes: #1648
This commit is contained in:
Mario Limonciello 2020-01-08 11:26:24 -06:00 committed by Mario Limonciello
parent 7442b7ba77
commit 427e01fcf3

View File

@ -271,6 +271,7 @@ fu_remote_list_set_key_value (FuRemoteList *self,
g_prefix_error (error, "failed to load %s: ", filename); g_prefix_error (error, "failed to load %s: ", filename);
return FALSE; return FALSE;
} }
fu_remote_list_emit_changed (self);
return TRUE; return TRUE;
} }