mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 19:50:08 +01:00
libnm/team: indicate whether there were changes in _nm_utils_team_config_set()
This commit is contained in:
parent
f84323bf47
commit
0cff18e055
1 changed files with 2 additions and 0 deletions
|
|
@ -6032,6 +6032,8 @@ done:
|
|||
conf_new = json_dumps (json, JSON_PRESERVE_ORDER);
|
||||
if (nm_streq0 (conf_new, "{}"))
|
||||
nm_clear_g_free (&conf_new);
|
||||
if (nm_streq0 (conf_new, *conf))
|
||||
return FALSE;
|
||||
g_free (*conf);
|
||||
*conf = g_steal_pointer (&conf_new);
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue