mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 16:20:34 +01:00
ifcfg-rh: fix emitting signal for unmanaged specs when removing connection (rh #698202)
The signal was emitted in case the removed connection was managed instead of for unmanaged connection. Thus the signal had no effect. That caused incorrect behaviour in case of changing NM_CONTROLLED=no to yes. That didn't enable the device; only after the file was changed for the second time.
This commit is contained in:
parent
258912524e
commit
e30287aa84
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ remove_connection (SCPluginIfcfg *self, NMIfcfgConnection *connection)
|
|||
g_return_if_fail (self != NULL);
|
||||
g_return_if_fail (connection != NULL);
|
||||
|
||||
managed = !!nm_ifcfg_connection_get_unmanaged_spec (connection);
|
||||
managed = !nm_ifcfg_connection_get_unmanaged_spec (connection);
|
||||
path = nm_ifcfg_connection_get_path (connection);
|
||||
|
||||
g_object_ref (connection);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue