mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 08:50:22 +01:00
settings: fix return value in nm_system_config_interface_load_connection()
when g_return_val_if_fail fails.
This commit is contained in:
parent
de36db0af1
commit
3e7ad0c439
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ gboolean
|
|||
nm_system_config_interface_load_connection (NMSystemConfigInterface *config,
|
||||
const char *filename)
|
||||
{
|
||||
g_return_val_if_fail (config != NULL, NULL);
|
||||
g_return_val_if_fail (config != NULL, FALSE);
|
||||
|
||||
if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->load_connection)
|
||||
return NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->load_connection (config, filename);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue