mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 18:00:10 +01:00
device: minor cleanup in reapply_cb()
This commit is contained in:
parent
7fba0f7cb2
commit
ddfd1e8ddf
1 changed files with 5 additions and 5 deletions
|
|
@ -12914,12 +12914,12 @@ reapply_cb(NMDevice * self,
|
|||
audit_args,
|
||||
subject,
|
||||
local->message);
|
||||
g_dbus_method_invocation_take_error(context, local);
|
||||
local = NULL;
|
||||
} else {
|
||||
nm_audit_log_device_op(NM_AUDIT_OP_DEVICE_REAPPLY, self, TRUE, audit_args, subject, NULL);
|
||||
g_dbus_method_invocation_return_value(context, NULL);
|
||||
g_dbus_method_invocation_take_error(context, g_steal_pointer(&local));
|
||||
return;
|
||||
}
|
||||
|
||||
nm_audit_log_device_op(NM_AUDIT_OP_DEVICE_REAPPLY, self, TRUE, audit_args, subject, NULL);
|
||||
g_dbus_method_invocation_return_value(context, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue