mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 20:10:10 +01:00
keyfile: fix asserting for absolute base-dir in nm_keyfile_read()
This commit is contained in:
parent
b6c094e55e
commit
09031978bb
1 changed files with 1 additions and 1 deletions
|
|
@ -2778,7 +2778,7 @@ nm_keyfile_read (GKeyFile *keyfile,
|
|||
base_dir = base_dir_free = g_get_current_dir ();
|
||||
}
|
||||
} else
|
||||
g_return_val_if_fail ("/", NULL);
|
||||
g_return_val_if_fail (base_dir[0] == '/', NULL);
|
||||
|
||||
connection = nm_simple_connection_new ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue