mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 07:58:02 +02:00
system-settings: update logging
This commit is contained in:
parent
acf8f7f531
commit
3f1604f3f0
1 changed files with 4 additions and 2 deletions
|
|
@ -28,6 +28,7 @@
|
|||
#include "nm-settings-connection-interface.h"
|
||||
#include "nm-settings-interface.h"
|
||||
#include "nm-polkit-helpers.h"
|
||||
#include "nm-logging.h"
|
||||
|
||||
|
||||
static void settings_connection_interface_init (NMSettingsConnectionInterface *klass);
|
||||
|
|
@ -613,8 +614,9 @@ nm_sysconfig_connection_init (NMSysconfigConnection *self)
|
|||
NMSysconfigConnectionPrivate *priv = NM_SYSCONFIG_CONNECTION_GET_PRIVATE (self);
|
||||
|
||||
priv->authority = polkit_authority_get ();
|
||||
if (!priv->authority)
|
||||
g_warning ("%s: error creating PolicyKit authority", __func__);
|
||||
if (!priv->authority) {
|
||||
nm_log_err (LOGD_SYS_SET, "%s: error creating PolicyKit authority");
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue