mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 23:50:16 +01:00
Fix wrong check for missing connection
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3753 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
319863dc7c
commit
88ded1e17c
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ nm_dispatcher_action (Handler *h,
|
|||
d->quit_timeout = g_timeout_add (10000, quit_timeout_cb, NULL);
|
||||
|
||||
connection = nm_connection_new_from_hash (connection_hash, error);
|
||||
if (connection) {
|
||||
if (!connection) {
|
||||
g_warning ("%s: Invalid connection: '%s' / '%s' invalid: %d",
|
||||
__func__,
|
||||
g_type_name (nm_connection_lookup_setting_type_by_quark ((*error)->domain)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue