mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 11:40:18 +01:00
ifcfg-rh: don't use spaces in ifcfg file names (rh #742273)
This commit is contained in:
parent
ab7a8fcf98
commit
dce6a071a8
1 changed files with 1 additions and 1 deletions
|
|
@ -1725,7 +1725,7 @@ write_connection (NMConnection *connection,
|
|||
|
||||
g_free (ifcfg_name);
|
||||
while (idx++ < 500) {
|
||||
ifcfg_name = g_strdup_printf ("%s/ifcfg-%s %u", ifcfg_dir, escaped, idx);
|
||||
ifcfg_name = g_strdup_printf ("%s/ifcfg-%s-%u", ifcfg_dir, escaped, idx);
|
||||
if (g_file_test (ifcfg_name, G_FILE_TEST_EXISTS) == FALSE)
|
||||
break;
|
||||
g_free (ifcfg_name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue