mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 15:40:10 +01:00
ifcfg-rh/tests: unlink test file in _writer_new_connection_reread() if not requested
(cherry picked from commit 3fdedde16f)
This commit is contained in:
parent
842db82686
commit
85ddfc8959
1 changed files with 3 additions and 1 deletions
|
|
@ -373,8 +373,10 @@ _writer_new_connection_reread(NMConnection * connection,
|
|||
|
||||
if (out_filename)
|
||||
*out_filename = filename;
|
||||
else
|
||||
else {
|
||||
nmtst_file_unlink(filename);
|
||||
g_free(filename);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue