Commit 1422ce0a authored by Beniamino Galvani's avatar Beniamino Galvani
Browse files

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: f79d6269
parent 5f83ef99
......@@ -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);
......
Markdown is supported
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