summaryrefslogtreecommitdiff
path: root/clients/tui/nmtui.c
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 09:17:17 +0100
commitb6c83d18e439d5221e75d99f1b6f3b77d00d2ff1 (patch)
tree1113e4099d63a71c122ae5f88aed94e94b74f8a1 /clients/tui/nmtui.c
parent5859e9a53d8f2170ed468ea0d77020c5849c0f8c (diff)
downloadNetworkManager-b6c83d18e439d5221e75d99f1b6f3b77d00d2ff1.tar.gz
tui: don't fetch permissions for NMClient in nmtui
nmtui doesn't care about the permissions. Don't fetch them.
Diffstat (limited to 'clients/tui/nmtui.c')
-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);