mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 10:30:22 +01:00
ifcfg-rh: don't chain up after failure of replace_and_commit()
If replace_and_commit() found existing route files (and the callback
has potentially already been invoked), it is wrong to chain up to
parent class and continue the update.
Fixes: f79d62692e
This commit is contained in:
parent
5f83ef9925
commit
1422ce0a6a
1 changed files with 1 additions and 0 deletions
|
|
@ -369,6 +369,7 @@ replace_and_commit (NMSettingsConnection *connection,
|
|||
callback (connection, error, user_data);
|
||||
g_clear_error (&error);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
NM_SETTINGS_CONNECTION_CLASS (nm_ifcfg_connection_parent_class)->replace_and_commit (connection, new_connection, callback, user_data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue