summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-12-06 15:59:27 +0100
committerThomas Haller <thaller@redhat.com>2019-12-10 07:53:25 +0100
commit0b7a3ad04e3e499778194b176f02131cffb0cf5d (patch)
tree63ee65cf076bef6fe21c1992f3d98193a65cbdcc
parent8897bb75e248818f297f3b72ccab20ace4c968b8 (diff)
downloadNetworkManager-0b7a3ad04e3e499778194b176f02131cffb0cf5d.tar.gz
tui: don't fetch permissions for NMClient in nmtui
nmtui doesn't care about the permissions. Don't fetch them.
-rw-r--r--clients/tui/nmtui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/tui/nmtui.c b/clients/tui/nmtui.c
index dcd8973772..a6ea6f7f52 100644
--- a/clients/tui/nmtui.c
+++ b/clients/tui/nmtui.c
@@ -236,6 +236,7 @@ main (int argc, char **argv)
if (!nmc_client_new_waitsync (NULL,
&nm_client,
&error,
+ NM_CLIENT_INSTANCE_FLAGS, (guint) NM_CLIENT_INSTANCE_FLAGS_NO_AUTO_FETCH_PERMISSIONS,
NULL)) {
g_printerr (_("Could not contact NetworkManager: %s.\n"), error->message);
g_error_free (error);