mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-07 00:31:11 +00:00
ifcfg-rh/tests: unlink test file in _writer_new_connection_reread() if not requested
This commit is contained in:
parent
1ae6719cf1
commit
3fdedde16f
|
@ -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…
Reference in a new issue