mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 04:58:01 +02: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)
|
if (out_filename)
|
||||||
*out_filename = filename;
|
*out_filename = filename;
|
||||||
else
|
else {
|
||||||
|
nmtst_file_unlink(filename);
|
||||||
g_free(filename);
|
g_free(filename);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue