mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-31 13:30:39 +02:00
ifcfg-rh: don't try to parse non-ifcfg files at startup
This commit is contained in:
parent
3e8547ff1b
commit
e041fabcfd
1 changed files with 2 additions and 1 deletions
|
|
@ -181,7 +181,8 @@ read_connections (SCPluginIfcfg *plugin)
|
|||
continue;
|
||||
|
||||
full_path = g_build_filename (IFCFG_DIR, item, NULL);
|
||||
_internal_new_connection (plugin, full_path, NULL, NULL);
|
||||
if (utils_get_ifcfg_name (full_path, TRUE))
|
||||
_internal_new_connection (plugin, full_path, NULL, NULL);
|
||||
g_free (full_path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue