Commit a13928c1 authored by Thomas Haller's avatar Thomas Haller Committed by Lubomir Rintel

Revert "keyfile: also add ".nmconnection" extension when writing keyfiles in /etc"

This reverts commit d37ad15f.
parent 191054f4
......@@ -357,16 +357,19 @@ nms_keyfile_writer_connection (NMConnection *connection,
GError **error)
{
const char *keyfile_dir;
gboolean with_extension = FALSE;
if (save_to_disk)
keyfile_dir = nms_keyfile_utils_get_path ();
else
else {
keyfile_dir = NM_KEYFILE_PATH_NAME_RUN;
with_extension = TRUE;
}
return _internal_write_connection (connection,
keyfile_dir,
nms_keyfile_utils_get_path (),
TRUE,
with_extension,
0,
0,
existing_path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment