mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 12:10:15 +01:00
core: fix hanging set_logging() dbus call by returning a result
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
84721804cd
commit
2ca7c89298
1 changed files with 4 additions and 2 deletions
|
|
@ -4100,9 +4100,11 @@ impl_manager_set_logging (NMManager *manager,
|
|||
}
|
||||
|
||||
done:
|
||||
if (error)
|
||||
if (error) {
|
||||
dbus_g_method_return_error (context, error);
|
||||
g_clear_error (&error);
|
||||
g_error_free (error);
|
||||
} else
|
||||
dbus_g_method_return (context);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue