ifcfg-rh/tests: unlink test file in _writer_new_connection_reread() if not requested

This commit is contained in:
Thomas Haller 2021-06-24 17:30:02 +02:00
parent 1ae6719cf1
commit 3fdedde16f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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